Compare commits
1 Commits
0.13.2-con
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
474b41ffce
|
15
tools/deploy-configuration.sh
Executable file
15
tools/deploy-configuration.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
NAMESPACE=homea2
|
||||
|
||||
kubectl create configmap home-automation-config \
|
||||
--from-file=devices.yaml=config/devices.yaml \
|
||||
--from-file=groups.yaml=config/groups.yaml \
|
||||
--from-file=layout.yaml=config/layout.yaml \
|
||||
--from-file=rules.yaml=config/rules.yaml \
|
||||
--from-file=scenes.yaml=config/scenes.yaml \
|
||||
--namespace=$NAMESPACE \
|
||||
--dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
kubectl apply -f deployment/configmap.yaml -n $NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user