#!/usr/bin/env bash # Usage: bash manifests/core/apply-dashy-config.sh # Description: Updates the Dashy ConfigMap from config/dashy/conf.yaml and restarts the deployment set -euo pipefail kubectl create configmap dashy-config \ --from-file=conf.yml=config/dashy/conf.yaml \ --namespace dashy \ --dry-run=client -o yaml | kubectl apply -f - kubectl rollout restart deployment/dashy -n dashy echo "Dashy config updated"