Skip to content

Commit

Permalink
chore: unpin crunchy image in the chart to use the default
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevespi committed May 22, 2024
1 parent 136f07f commit e2564b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/cas-cif/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
postgres-operator.crunchydata.com/pgbackrest-restore: {{ now | date "2006-01-02 15:04:05.000000" | quote }}
{{- end }}
spec:
image: artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-postgres:ubi8-14.7-0
image: {{ .Values.db.crunchyImage }}
metadata:
labels: {{ include "cas-cif.labels" . | nindent 6 }}
postgresVersion: 14
Expand Down
1 change: 1 addition & 0 deletions chart/cas-cif/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ db:
ownerUser: cif
# A shell script that will be executed in a pre-upgrade job, on the psql image.
preUpgradeCommand: ~
crunchyImage: # it's not necessary to specify an image as the images specified in the Crunchy Postgres Operator will be pulled by default
restore:
enabled: false
targetTimestamp: ~ # The target timestamp to restore the database to. Format: "2021-06-09 09:00:00-07"
Expand Down
2 changes: 1 addition & 1 deletion database_backup_test/backup-test/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
postgres-operator.crunchydata.com/pgbackrest-restore: {{ now | date "2006-01-02 15:04:05.000000" | quote }}
{{- end }}
spec:
image: artifacts.developer.gov.bc.ca/bcgov-docker-local/crunchy-postgres:ubi8-14.7-0
image: {{ .Values.db.crunchyImage }}
metadata:
labels: {{ include "backup-test.labels" . | nindent 6 }}
postgresVersion: 14
Expand Down

0 comments on commit e2564b2

Please sign in to comment.