namespace and config 2
Some checks failed
ci/woodpecker/push/woodpecker/4 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/tag/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/tag/woodpecker/3 Pipeline failed
ci/woodpecker/tag/woodpecker/4 Pipeline failed
ci/woodpecker/tag/woodpecker/2 Pipeline failed

This commit is contained in:
2025-11-21 11:33:58 +01:00
parent 41f5e06e30
commit 09498dd0e5

View File

@@ -46,13 +46,13 @@ steps:
KUBE_CONFIG_CONTENT:
from_secret: kube_config
commands:
kubectl create configmap home-automation-config \
--from-file=devices=config/devices.yaml \
--from-file=groups=config/groups.yaml \
--from-file=layout=config/layout.yaml \
--from-file=rules=config/rules.yaml \
--from-file=scenes=config/scenes.yaml \
--namespace=${NAMESPACE} \
kubectl create configmap home-automation-config
--from-file=devices=config/devices.yaml
--from-file=groups=config/groups.yaml
--from-file=layout=config/layout.yaml
--from-file=rules=config/rules.yaml
--from-file=scenes=config/scenes.yaml
--namespace=${NAMESPACE}
--dry-run=client -o yaml | kubectl apply -f -
when:
event: [tag]