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

This commit is contained in:
2025-11-21 12:12:19 +01:00
parent 804e9bf742
commit 4889f5ed8b

View File

@@ -24,13 +24,13 @@ steps:
commands: commands:
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig - printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig - export KUBECONFIG=/tmp/kubeconfig
- kubectl create configmap home-automation-config \ - kubectl create configmap home-automation-config
--from-file=devices=config/devices.yaml \ --from-file=devices=config/devices.yaml
--from-file=groups=config/groups.yaml \ --from-file=groups=config/groups.yaml
--from-file=layout=config/layout.yaml \ --from-file=layout=config/layout.yaml
--from-file=rules=config/rules.yaml \ --from-file=rules=config/rules.yaml
--from-file=scenes=config/scenes.yaml \ --from-file=scenes=config/scenes.yaml
--namespace=$NAMESPACE \ --namespace=$NAMESPACE
--dry-run=client -o yaml | kubectl apply -f - --dry-run=client -o yaml | kubectl apply -f -
when: when:
event: [tag] event: [tag]