kubernetes-deployments/applyset-deploy.sh

8 lines
203 B
Bash
Raw Normal View History

2024-09-07 10:35:02 +00:00
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
export KUBECTL_APPLYSET=true
vals eval -fail-on-missing-key-in-map <$MANIFEST | kubectl apply -f - --prune --applyset $APPLYSET --namespace $NAMESPACE