Skip to content

Commit 0520f60

Browse files
committed
feat: Support service account annotations for WIF
Signed-off-by: Jorge Turrado <jorge.turrado@digits.schwarz>
1 parent 179f0ec commit 0520f60

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

deploy/stackit/templates/rbac.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ metadata:
1212
chart: {{ include "stackit-cert-manager-webhook.chart" . }}
1313
release: {{ .Release.Name }}
1414
heritage: {{ .Release.Service }}
15+
{{- with .Values.serviceAccount.annotations}}
16+
annotations:
17+
{{- . | toYaml | nindent 4 }}
18+
{{- end }}
1519
---
1620
# Grant the webhook permission to read the ConfigMap containing the Kubernetes
1721
# apiserver's requestheader-ca-certificate.

deploy/stackit/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ certManager:
1919
# -- service account name for the cert-manager.
2020
serviceAccountName: cert-manager
2121

22+
# -- Service Account
23+
serviceAccount:
24+
# -- service account annotations.
25+
annotations: {}
26+
2227
# -- Image information for the webhook.
2328
image:
2429
# -- repository of the image.

0 commit comments

Comments
 (0)