Make some update to drone deployment

This commit is contained in:
Adrien Reslinger 2020-07-11 00:21:18 +02:00
parent 9bf8b4e004
commit 42f9dcb6c8
4 changed files with 4 additions and 3 deletions

View file

@ -14,4 +14,5 @@ metadata:
data: data:
DRONE_SERVER_HOST: "drone.reslinger.net" DRONE_SERVER_HOST: "drone.reslinger.net"
DRONE_SERVER_PROTO: "https" DRONE_SERVER_PROTO: "https"
DRONE_SERVER_PORT: ":3000"
DRONE_GITEA_SERVER: "https://gitea.reslinger.net" DRONE_GITEA_SERVER: "https://gitea.reslinger.net"

View file

@ -30,7 +30,7 @@ spec:
annotations: annotations:
checksum/secrets: f04829730411ff67dd00ecc2a6f709ad9b067e2731b5164841e93bac8beb071e checksum/secrets: f04829730411ff67dd00ecc2a6f709ad9b067e2731b5164841e93bac8beb071e
prometheus.io/port: "80" prometheus.io/port: "3000"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
spec: spec:
automountServiceAccountToken: false automountServiceAccountToken: false
@ -49,7 +49,7 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 3000
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:

View file

@ -14,7 +14,7 @@ metadata:
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
- port: 80 - port: 3000
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http