add option for annotations in PodDisruptionBudget

add option for annotations in PodDisruptionBudget
This commit is contained in:
vkanelov 2023-04-11 12:09:18 +03:00 committed by GitHub
parent 4e8d0b5836
commit 0d5cb408bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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