improve connectivity
This commit is contained in:
@@ -10,5 +10,5 @@ spec:
|
|||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- port: 4338
|
- port: 4338
|
||||||
targetPort: 443
|
targetPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -32,7 +33,7 @@ spec:
|
|||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: DRONE_GITEA_SERVER
|
- name: DRONE_GITEA_SERVER
|
||||||
value: "https://gitea-int-service:3000"
|
value: "https://gitea.akshun-lab.uk"
|
||||||
- name: DRONE_GITEA_CLIENT_ID
|
- name: DRONE_GITEA_CLIENT_ID
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -49,9 +50,9 @@ spec:
|
|||||||
name: drone-gitea-secrets
|
name: drone-gitea-secrets
|
||||||
key: rpc_secret
|
key: rpc_secret
|
||||||
- name: DRONE_SERVER_HOST
|
- name: DRONE_SERVER_HOST
|
||||||
value: "drone-server-service:4338"
|
value: "drone.akshun-lab.uk"
|
||||||
- name: DRONE_SERVER_PROTO
|
- name: DRONE_SERVER_PROTO
|
||||||
value: "http"
|
value: "https"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: drone-data
|
- name: drone-data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
@@ -67,7 +68,7 @@ spec:
|
|||||||
name: drone-gitea-secrets
|
name: drone-gitea-secrets
|
||||||
key: rpc_secret
|
key: rpc_secret
|
||||||
- name: DRONE_RPC_HOST
|
- name: DRONE_RPC_HOST
|
||||||
value: "drone-server-service:4338"
|
value: "localhost:80"
|
||||||
volumes:
|
volumes:
|
||||||
- name: drone-data
|
- name: drone-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user