Skip to content

Commit 41b9be5

Browse files
author
Jonathan S. Katz
committed
Update Helm chart for PGO installation from private repos
While the Postgres cluster Helm chart allowed for the usage of image pull secrets, the PGO installation chart did not. This amends the PGO installation chart to support this.
1 parent 9bb49e6 commit 41b9be5

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

helm/install/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: pgo
33
description: Installer for PGO, the open source Postgres Operator from Crunchy Data
44
type: application
5-
version: 0.2.3
5+
version: 0.2.4
66
appVersion: 5.0.4

helm/install/templates/manager.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ spec:
1515
labels:
1616
{{- include "install.crunchyLabels" . | nindent 8 }}
1717
spec:
18+
{{- if .Values.imagePullSecrets }}
19+
imagePullSecrets:
20+
{{ toYaml .Values.imagePullSecrets | indent 8 }}
21+
{{- end }}
1822
containers:
1923
- name: operator
2024
image: "{{ .Values.image.image }}"

helm/install/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
## Provide image repository and tag
33
image:
4-
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.4-0
4+
image: registry.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.4-0
55

66
relatedImages:
77
postgres_14:
@@ -28,3 +28,8 @@ singleNamespace: false
2828
# debug allows you to enable or disable the "debug" level of logging.
2929
# Defaults to the value below.
3030
debug: true
31+
32+
# imagePullSecrets defines any image pull secrets to use
33+
# **only for installation**. This is an array that uses the image pull secret
34+
# format, i.e. "name: value"
35+
imagePullSecrets: []

0 commit comments

Comments
 (0)