Skip to content

Commit

Permalink
Update to upstream chart 0.2.4 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
djtaylor authored Jul 21, 2022
1 parent 23a5bdf commit 9c9668c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 31 deletions.
4 changes: 2 additions & 2 deletions charts/crunchydata-pgo-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: crunchydata-pgo-db
description: A Helm chart for Kubernetes
type: application
version: 0.2.1
appVersion: 5.0.4
version: 0.2.4
appVersion: 5.1.1
13 changes: 1 addition & 12 deletions charts/crunchydata-pgo-db/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: {{ default .Release.Name .Values.name }}
spec:
postgresVersion: {{ default 13 .Values.postgresVersion }}
postgresVersion: {{ required "You must set the version of Postgres to deploy." .Values.postgresVersion }}
{{- if .Values.postGISVersion }}
postGISVersion: {{ quote .Values.postGISVersion }}
{{- end }}
Expand Down Expand Up @@ -36,17 +36,6 @@ spec:
cpu: {{ default "" .Values.instanceResources.limits.cpu | quote }}
memory: {{ default "" .Values.instanceResources.limits.memory | quote }}
{{- end }}
{{- if .Values.replicaCertCopyResources }}
sidecars:
replicaCertCopy:
resources:
requests:
cpu: {{ default "" .Values.replicaCertCopyResources.requests.cpu | quote }}
memory: {{ default "" .Values.replicaCertCopyResources.requests.memory | quote }}
limits:
cpu: {{ default "" .Values.replicaCertCopyResources.limits.cpu | quote }}
memory: {{ default "" .Values.replicaCertCopyResources.limits.memory | quote }}
{{- end }}
{{- end }}
backups:
pgbackrest:
Expand Down
36 changes: 19 additions & 17 deletions charts/crunchydata-pgo-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# postgresVersion sets the version to deploy. This version number needs to be
# available as one of the "RELATED_IMAGE_POSTGRES_..." images as part of the PGO
# installation if you want to deploy the image without setting the "postgres"
# image variable. This defaults to the below value.
# postgresVersion: 13
# image variable. This value is required.
postgresVersion: 14

# postGISVersion if sets and coupled with a PostGIS enabled container, enables
# PostGIS. This version number needs to be available as one of the
Expand Down Expand Up @@ -47,19 +47,19 @@
# below value. "postgresVersion" needs to match the version of Postgres that is
# used here. If using the GIS-enabled Postgres image, you need to ensure
# "postGISVersion" matches the version of PostGIS used.
# imagePostgres: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
# imagePostgres: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.7-0

# imagePgBackRest is the pgBackRest backup utility image. This defaults to the
# below value.
# imagePgBackRest: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
# imagePgBackRest: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-1

# imagePgBouncer is the image for the PgBouncer connection pooler. This defaults
# to the below value.
# imagePgBouncer: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0
# imagePgBouncer: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.16-3

# imageExporter is the image name for the exporter used as a part of monitoring.
# This defaults to the value below.
# imageExporter: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.4-0
# imageExporter: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.1.1-0

###########################
# Basic Postgres Settings #
Expand All @@ -69,26 +69,28 @@
# the value below. Setting "instances" overrides this value.
# instanceName: instance1

# instanceResources defines the resources requests and limits for the container
# instanceResources: {}

# instanceSize sets the size of the volume that contains the data. This defaults
# to the value below. Settings "instances" overrides this value.
# instanceSize: 1Gi

# instanceResources defines the resources requests and limits for the container
# instanceResources: {}

# instanceMemory sets the memory limit for the Postgres instances. This defaults
# to no limit being set, but an example value is set below. Settings "instances"
# overrides this value.
# instanceMemory: 2Gi

# instanceCPU sets the CPU limit for the Postgres instances. This defaults to
# no limit being set, but an example value is set below. Setting "instances"
# overrides this value.
# instanceCPU: 1000m

# instanceReplicas lets you set the total number of Postgres replicas. This
# defaults to the value below. More than on replica enables high availability
# (HA). Settings "instances" overrides this value.
# instanceReplicas: 1

####################
# Sidecar Settings #
####################

# replicaCertCopyResources defines the resource requests and limits for
# for the replica cert copy sidecar container
# replicaCertCopyResources: {}

##############################
# Advanced Postgres Settings #
##############################
Expand Down

0 comments on commit 9c9668c

Please sign in to comment.