allow set annotations for admission Jobs (#7979)
* allow set annotations for admission Jobs Signed-off-by: Alex Co <tuanclq@gmail.com> * Bump chart version & update CHANGELOG Signed-off-by: Alex Co <tuanclq@gmail.com> * Bump chart version again Signed-off-by: Alex Co <tuanclq@gmail.com> * Add example Signed-off-by: Alex Co <tuanclq@gmail.com>
This commit is contained in:
parent
27037a1919
commit
ea1099abc9
5 changed files with 16 additions and 1 deletions
|
|
@ -7,6 +7,9 @@ metadata:
|
|||
annotations:
|
||||
"helm.sh/hook": pre-install,pre-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
{{- with .Values.controller.admissionWebhooks.annotations }}
|
||||
{{- toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: admission-webhook
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ metadata:
|
|||
annotations:
|
||||
"helm.sh/hook": post-install,post-upgrade
|
||||
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
|
||||
{{- with .Values.controller.admissionWebhooks.annotations }}
|
||||
{{- toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "ingress-nginx.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: admission-webhook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue