Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
4889f5ed8b
|
@@ -24,13 +24,13 @@ steps:
|
||||
commands:
|
||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||
- export KUBECONFIG=/tmp/kubeconfig
|
||||
- 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]
|
||||
|
||||
Reference in New Issue
Block a user