diff --git a/deploy/charts/cert-manager/templates/webhook-service.yaml b/deploy/charts/cert-manager/templates/webhook-service.yaml index 5fc17de6b..8de171cbc 100644 --- a/deploy/charts/cert-manager/templates/webhook-service.yaml +++ b/deploy/charts/cert-manager/templates/webhook-service.yaml @@ -3,6 +3,10 @@ kind: Service metadata: name: {{ template "webhook.fullname" . }} namespace: {{ .Release.Namespace | quote }} +{{- with .Values.webhook.serviceAnnotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} labels: app: {{ include "webhook.name" . }} app.kubernetes.io/name: {{ include "webhook.name" . }} diff --git a/deploy/charts/cert-manager/values.yaml b/deploy/charts/cert-manager/values.yaml index 7b55db15b..4cefd20dc 100644 --- a/deploy/charts/cert-manager/values.yaml +++ b/deploy/charts/cert-manager/values.yaml @@ -232,6 +232,9 @@ webhook: # Optional additional annotations to add to the webhook Pods # podAnnotations: {} + # Optional additional annotations to add to the webhook Service + # serviceAnnotations: {} + # Optional additional annotations to add to the webhook MutatingWebhookConfiguration # mutatingWebhookConfigurationAnnotations: {}