12 lines
351 B
Bash
12 lines
351 B
Bash
#!/bin/bash
|
|
# Usage: bash manifests/apply-dashy-config.sh
|
|
# Updates Dashy config from config/dashy/conf.yml
|
|
set -e
|
|
|
|
kubectl create configmap dashy-config \
|
|
--from-file=conf.yml=config/dashy/conf.yml \
|
|
--namespace dashy \
|
|
--dry-run=client -o yaml | kubectl apply -f -
|
|
|
|
kubectl rollout restart deployment/dashy -n dashy
|
|
echo "Dashy config updated" |