Skip to content

Commit 03d1ed8

Browse files
authored
MINOR: kubernetes-ingress: Add pre-install hook annotation for namespace creation (#254)
1 parent 4d0cffc commit 03d1ed8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kubernetes-ingress/templates/namespace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ metadata:
2525
app.kubernetes.io/managed-by: {{ .Release.Service }}
2626
app.kubernetes.io/instance: {{ .Release.Name }}
2727
app.kubernetes.io/version: {{ .Chart.AppVersion }}
28+
annotations:
29+
"helm.sh/hook": "pre-install"
30+
"helm.sh/hook-weight": "-1"
2831
{{- end -}}

0 commit comments

Comments
 (0)