Skip to content

Commit 81282a3

Browse files
committed
feat: option for imagePullSecrets to sa
1 parent 3405f19 commit 81282a3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

deploy/stackit/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "v0.3.4"
33
description: A Helm chart for stackitcloud/stackit-cert-manager-webhook
44
name: stackit-cert-manager-webhook
5-
version: 0.3.4
5+
version: 0.3.5

deploy/stackit/templates/rbac.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
apiVersion: v1
22
kind: ServiceAccount
3+
{{- with .Values.imagePullSecrets }}
4+
imagePullSecrets:
5+
{{- toYaml . | nindent 2 }}
6+
{{- end }}
37
metadata:
48
name: {{ include "stackit-cert-manager-webhook.fullname" . }}
59
namespace: {{ .Release.Namespace | quote }}

deploy/stackit/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ image:
2727
tag: ""
2828
# -- pull policy of the image.
2929
pullPolicy: IfNotPresent
30+
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
31+
imagePullSecrets: []
3032

3133
# -- Webhook configuration.
3234
nameOverride: ""

0 commit comments

Comments
 (0)