Skip to content

Commit c5fcbe3

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

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
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/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ helm upgrade --install -n operators ext-postgres-operator ext-postgres-operator/
1313

1414
## Compatibility
1515

16-
**NOTE:** Helm chart version `2.0.0` is only compatible with the Postgres Operator version `2.0.0`. Ensure that you are using the correct versions to avoid compatibility issues.
16+
**NOTE:** Helm chart version `>= 2.0.0` is only compatible with the Postgres Operator version `2.0.0`. Ensure that you are using the correct versions to avoid compatibility issues.

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)