fix gitea replacement
This commit is contained in:
parent
c0b61a2eb4
commit
19ce7eac7c
|
@ -20,6 +20,8 @@ spec:
|
|||
- name: gitea
|
||||
image: gitea/gitea
|
||||
env:
|
||||
- name: GITEA__SERVER__SSH_DOMAIN
|
||||
value: ${GITEA_EXTERNAL_HOST}
|
||||
- name: GITEA__SERVER__ROOT_URL
|
||||
value: https://${GITEA_EXTERNAL_HOST}
|
||||
- name: GITEA__WEBHOOK_ALLOWED_HOST_LIST
|
||||
|
@ -28,8 +30,6 @@ spec:
|
|||
value: Badjware's code stash
|
||||
- name: GITEA__SERVICE__DISABLE_REGISTRATION
|
||||
value: "yes"
|
||||
- name: GITEA__SERVER__SSH_DOMAIN
|
||||
value: ${GITEA_EXTERNAL_HOST}
|
||||
- name: GITEA__SERVER__SSH_PORT
|
||||
value: "30022"
|
||||
- name: GITEA__METRICS__ENABLED
|
||||
|
|
|
@ -116,6 +116,12 @@ replacements:
|
|||
namespace: default
|
||||
fieldPath: data.GITEA_EXTERNAL_HOST
|
||||
targets:
|
||||
- select:
|
||||
kind: Deployment
|
||||
name: gitea
|
||||
namespace: gitea
|
||||
fieldPaths:
|
||||
- spec.template.spec.containers.0.env.0.value
|
||||
- select:
|
||||
kind: Ingress
|
||||
name: gitea
|
||||
|
@ -133,7 +139,7 @@ replacements:
|
|||
name: gitea
|
||||
namespace: gitea
|
||||
fieldPaths:
|
||||
- spec.template.spec.containers.0.env.0.value
|
||||
- spec.template.spec.containers.0.env.1.value
|
||||
- select:
|
||||
kind: Deployment
|
||||
name: drone-server
|
||||
|
@ -193,7 +199,7 @@ replacements:
|
|||
name: gitea
|
||||
namespace: gitea
|
||||
fieldPaths:
|
||||
- spec.template.spec.containers.0.env.1.value
|
||||
- spec.template.spec.containers.0.env.2.value
|
||||
- select:
|
||||
kind: Deployment
|
||||
name: drone-server
|
||||
|
|
Loading…
Reference in New Issue