Skip to content

Commit 750cfff

Browse files
committed
Add configuration for image pull secret in helm chart
1 parent 75f47df commit 750cfff

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/ext-postgres-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ description: |
88
99
type: application
1010

11-
version: 2.0.0
11+
version: 2.0.1
1212
appVersion: "2.0.0"

charts/ext-postgres-operator/templates/operator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ spec:
3030
serviceAccountName: {{ include "chart.serviceAccountName" . }}
3131
securityContext:
3232
{{- toYaml .Values.podSecurityContext | nindent 8 }}
33+
imagePullSecrets:
34+
{{- toYaml .Values.image.pullSecrets | nindent 8 }}
3335
containers:
3436
- name: {{ .Chart.Name }}
3537
securityContext:

charts/ext-postgres-operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ revisionHistoryLimit: 10
99
image:
1010
repository: ghcr.io/movetokube/postgres-operator
1111
pullPolicy: IfNotPresent
12+
pullSecrets: []
13+
# e.g. for pullSecrets:
14+
# - name: my-secret
15+
1216
# Overrides the image tag whose default is the chart appVersion.
1317
tag: ""
1418

0 commit comments

Comments
 (0)