Helmfile: presync hook namespace creation
- events: ["presync"] | |
showlogs: true | |
command: "/bin/sh" | |
args: | |
- "-c" | |
- >- | |
kubectl get namespace "{{`{{ .Release.Namespace }}`}}" >/dev/null 2>&1 || kubectl create namespace "{{`{{ .Release.Namespace }}`}}"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment