add option for annotations in PodDisruptionBudget (#9843)

add option for annotations in PodDisruptionBudget
This commit is contained in:
vkanelov 2023-05-11 00:39:14 +03:00 committed by GitHub
parent 0bdb64373c
commit f18826b73e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,9 @@ metadata:
{{- end }} {{- end }}
name: {{ include "ingress-nginx.controller.fullname" . }} name: {{ include "ingress-nginx.controller.fullname" . }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
{{- if .Values.controller.annotations }}
annotations: {{ toYaml .Values.controller.annotations | nindent 4 }}
{{- end }}
spec: spec:
selector: selector:
matchLabels: matchLabels: