kubernetes-deployments/applyset-deploy.sh
2024-09-07 12:35:02 +02:00

7 lines
203 B
Bash

#!/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