This commit is contained in:
parent
e4bc2ea31b
commit
96e44686f4
29
.drone.yml
29
.drone.yml
@ -29,18 +29,23 @@ steps:
|
|||||||
# when:
|
# when:
|
||||||
# event: tag
|
# event: tag
|
||||||
|
|
||||||
- name: k8s rollout
|
- name: environment substitution
|
||||||
image: bitnami/kubectl
|
image: rockylinux:9.0-minimal
|
||||||
commands:
|
commands:
|
||||||
- cd deploy && bash -c 'for f in *.yaml; do envsubst < $f | kubectl apply -f -; done'
|
- microdnf install -y envsubst
|
||||||
environment:
|
|
||||||
NODED_DOMAIN:
|
# - name: k8s rollout
|
||||||
from_secret: NODED_DOMAIN
|
# image: bitnami/kubectl
|
||||||
NODED_DATABASE_HOST:
|
# commands:
|
||||||
from_secret: NODED_DATABASE_HOST
|
# - cd deploy && bash -c 'for f in *.yaml; do envsubst < $f | kubectl apply -f -; done'
|
||||||
NODED_REDIS_HOST:
|
# environment:
|
||||||
from_secret: NODED_REDIS_HOST
|
# NODED_DOMAIN:
|
||||||
NODED_DATABASE_NAME:
|
# from_secret: NODED_DOMAIN
|
||||||
from_secret: NODED_DATABASE_NAME
|
# NODED_DATABASE_HOST:
|
||||||
|
# from_secret: NODED_DATABASE_HOST
|
||||||
|
# NODED_REDIS_HOST:
|
||||||
|
# from_secret: NODED_REDIS_HOST
|
||||||
|
# NODED_DATABASE_NAME:
|
||||||
|
# from_secret: NODED_DATABASE_NAME
|
||||||
# when:
|
# when:
|
||||||
# event: tag
|
# event: tag
|
||||||
|
Loading…
Reference in New Issue
Block a user