This repository was archived by the owner on Apr 25, 2023. It is now read-only.
File tree 2 files changed +13
-0
lines changed
charts/kubefed/charts/controllermanager/templates
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ metadata:
7
7
kubefed-control-plane : controller-manager
8
8
{{- if .Values.controller.annotations }}
9
9
annotations :
10
+ " helm.sh/hook " : pre-install, pre-upgrade
11
+ " helm.sh/hook-weight " : " -5"
12
+ " helm.sh/hook-delete-policy " : hook-succeeded,before-hook-creation
10
13
{{ toYaml .Values.controller.annotations | indent 4 }}
11
14
{{- end }}
12
15
spec :
@@ -74,6 +77,9 @@ metadata:
74
77
kubefed-admission-webhook : " true"
75
78
{{- if .Values.webhook.annotations }}
76
79
annotations :
80
+ " helm.sh/hook " : pre-install, pre-upgrade
81
+ " helm.sh/hook-weight " : " -5"
82
+ " helm.sh/hook-delete-policy " : hook-succeeded,before-hook-creation
77
83
{{ toYaml .Values.webhook.annotations | indent 4 }}
78
84
{{- end }}
79
85
spec :
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ metadata:
14
14
name : validations.core.kubefed.io
15
15
{{- end }}
16
16
annotations :
17
+ " helm.sh/hook " : pre-install, pre-upgrade
18
+ " helm.sh/hook-weight " : " -5"
19
+ " helm.sh/hook-delete-policy " : hook-succeeded,before-hook-creation
17
20
{{- if .Values.certManager.enabled }}
18
21
cert-manager.io/inject-ca-from : {{ printf "%s/%s%s" .Release.Namespace .Release.Name "-root-certificate" | quote }}
19
22
{{- end }}
@@ -114,6 +117,10 @@ metadata:
114
117
{{- else }}
115
118
name : mutation.core.kubefed.io
116
119
{{- end }}
120
+ annotations :
121
+ " helm.sh/hook " : pre-install, pre-upgrade
122
+ " helm.sh/hook-weight " : " -5"
123
+ " helm.sh/hook-delete-policy " : hook-succeeded,before-hook-creation
117
124
webhooks :
118
125
- name : kubefedconfigs.core.kubefed.io
119
126
clientConfig :
You can’t perform that action at this time.
0 commit comments