diff --git a/deploy/charts/cert-manager/templates/webhook-service.yaml b/deploy/charts/cert-manager/templates/webhook-service.yaml index 5cf9efdbe..790afca7c 100644 --- a/deploy/charts/cert-manager/templates/webhook-service.yaml +++ b/deploy/charts/cert-manager/templates/webhook-service.yaml @@ -9,6 +9,9 @@ metadata: app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/component: "webhook" {{- include "labels" . | nindent 4 }} +{{- if .Values.webhook.serviceLabels }} +{{ toYaml .Values.webhook.serviceLabels | indent 4 }} +{{- end }} spec: type: {{ .Values.webhook.serviceType }} {{- if .Values.webhook.loadBalancerIP }} diff --git a/deploy/charts/cert-manager/values.yaml b/deploy/charts/cert-manager/values.yaml index b24c6371f..a1cdebd5c 100644 --- a/deploy/charts/cert-manager/values.yaml +++ b/deploy/charts/cert-manager/values.yaml @@ -268,6 +268,9 @@ webhook: # Optional additional labels to add to the Webhook Pods podLabels: {} + # Optional additional labels to add to the Webhook Service + serviceLabels: {} + image: repository: quay.io/jetstack/cert-manager-webhook # You can manage a registry with