Skip to content

Commit

Permalink
feat(base-cluster): add pre-install hook to namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tasches committed Feb 7, 2024
1 parent a1253c5 commit b73e9fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/base-cluster/templates/global/namespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Namespace
metadata:
name: {{ $name }}
labels: {{- include "common.labels.standard" $ | nindent 4 -}}
annotations:
"helm.sh/hook": pre-install
{{- with $namespace.additionalLabels -}}
{{- . | toYaml | nindent 4 -}}
{{- end }}
Expand Down

0 comments on commit b73e9fd

Please sign in to comment.