Compare commits
2 Commits
ad9ac0fed0
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fb27042e6 | ||
|
|
5a98b0280e |
@@ -81,6 +81,7 @@ spec:
|
||||
image: drone/drone:2
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
@@ -89,12 +90,15 @@ spec:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
env:
|
||||
- name: DRONE_GITEA_SERVER
|
||||
value: "https://gitea.khongisa.co.za"
|
||||
# FIX: Explicitly bind the address to bypass port validation logic
|
||||
- name: DRONE_SERVER_ADDR
|
||||
value: ":80"
|
||||
- name: DRONE_SERVER_HOST
|
||||
value: "drone.khongisa.co.za"
|
||||
- name: DRONE_SERVER_PROTO
|
||||
value: "https"
|
||||
- name: DRONE_GITEA_SERVER
|
||||
value: "https://gitea.khongisa.co.za"
|
||||
- name: DRONE_RPC_SECRET
|
||||
valueFrom: { secretKeyRef: { name: drone-secrets, key: DRONE_RPC_SECRET } }
|
||||
- name: DRONE_GITEA_CLIENT_ID
|
||||
@@ -129,6 +133,9 @@ spec:
|
||||
app: drone-runner
|
||||
spec:
|
||||
serviceAccountName: drone-runner-sa
|
||||
hostAliases:
|
||||
- ip: "169.255.58.144"
|
||||
hostnames: ["gitea.khongisa.co.za"]
|
||||
containers:
|
||||
- name: drone-runner
|
||||
image: drone/drone-runner-kube:latest
|
||||
|
||||
Reference in New Issue
Block a user