Merge pull request #4329 from jwenz723/patch-1

[Helm Chart] Add optional service annotations
This commit is contained in:
jetstack-bot
2022-01-05 12:46:45 +00:00
committed by GitHub
3 changed files with 14 additions and 0 deletions
@@ -4,6 +4,10 @@ kind: Service
metadata:
name: {{ template "cert-manager.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
{{- with .Values.serviceAnnotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
labels:
app: {{ include "cert-manager.name" . }}
app.kubernetes.io/name: {{ include "cert-manager.name" . }}
@@ -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" . }}
+6
View File
@@ -138,6 +138,9 @@ volumeMounts: []
podLabels: {}
# Optional annotations to add to the controller Service
# serviceAnnotations: {}
# Optional additional labels to add to the controller Service
# serviceLabels: {}
@@ -248,6 +251,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: {}