Skip to content

Commit

Permalink
Updates to CRDs & Component Versions
Browse files Browse the repository at this point in the history
Various CRD and component version updates.

[sc-13037]
  • Loading branch information
andrewlecuyer authored Nov 22, 2021
1 parent e0d6196 commit b97aa00
Show file tree
Hide file tree
Showing 15 changed files with 49 additions and 38 deletions.
2 changes: 1 addition & 1 deletion helm/install/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: pgo
description: A Helm chart for Kubernetes
type: application
version: 0.2.1
appVersion: 5.0.3
appVersion: 5.0.4
Original file line number Diff line number Diff line change
Expand Up @@ -3394,6 +3394,8 @@ spec:
type: object
type: array
instances:
description: Specifies one or more sets of PostgreSQL pods that replicate
data for this cluster.
items:
properties:
affinity:
Expand Down Expand Up @@ -4172,13 +4174,18 @@ spec:
type: object
name:
default: ""
description: Name that associates this set of PostgreSQL pods.
This field is optional when only one instance set is defined.
Each instance set in a cluster must have a unique name.
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?)?$
type: string
priorityClassName:
description: 'Priority class name for the PostgreSQL pod. Changing
this value causes PostgreSQL to restart. More info: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/'
type: string
replicas:
default: 1
description: Number of desired PostgreSQL pods.
format: int32
minimum: 1
type: integer
Expand Down
16 changes: 8 additions & 8 deletions helm/install/values.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
## Provide image repository and tag
image:
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.3-0
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.4-0

relatedImages:
postgres_14:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.0-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.1-0
postgres_14_gis_3.1:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-14.0-3.1-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-14.1-3.1-0
postgres_13:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgres_13_gis_3.1:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-13.4-3.1-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-13.5-3.1-0
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
pgbouncer:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.15-3
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0
pgexporter:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.3-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.4-0

## Install in default or single namespace mode
singleNamespace: false
4 changes: 2 additions & 2 deletions helm/postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: postgrescluster
description: A Helm chart for Kubernetes
type: application
version: 0.2.0
appVersion: 5.0.3
version: 0.2.1
appVersion: 5.0.4
8 changes: 4 additions & 4 deletions helm/postgres/values.yaml
Original file line number Diff line number Diff line change
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.4-1
# imagePostgres: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0

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

# 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.15-3
# imagePgBouncer: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0

# 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.3-0
# imageExporter: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.4-0

###########################
# Basic Postgres Settings #
Expand Down
4 changes: 2 additions & 2 deletions kustomize/azure/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo-azure
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- dataVolumeClaimSpec:
Expand All @@ -14,7 +14,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
configuration:
- secret:
name: pgo-azure-creds
Expand Down
4 changes: 2 additions & 2 deletions kustomize/certmanager/postgres/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
customReplicationTLSSecret:
name: hippo-repl-tls
Expand All @@ -19,7 +19,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
repos:
- name: repo1
volume:
Expand Down
4 changes: 2 additions & 2 deletions kustomize/gcs/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo-gcs
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- dataVolumeClaimSpec:
Expand All @@ -14,7 +14,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
configuration:
- secret:
name: pgo-gcs-creds
Expand Down
6 changes: 3 additions & 3 deletions kustomize/high-availability/ha-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo-ha
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- name: pgha1
Expand All @@ -26,7 +26,7 @@ spec:
postgres-operator.crunchydata.com/instance-set: pgha1
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
repos:
- name: repo1
volume:
Expand All @@ -38,7 +38,7 @@ spec:
storage: 1Gi
proxy:
pgBouncer:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.15-3
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0
replicas: 2
affinity:
podAntiAffinity:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/install/bases/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ bases:
images:
- name: postgres-operator
newName: registry.developers.crunchydata.com/crunchydata/postgres-operator
newTag: ubi8-5.0.3-0
newTag: ubi8-5.0.4-0
14 changes: 9 additions & 5 deletions kustomize/install/bases/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ spec:
env:
- name: CRUNCHY_DEBUG
value: "true"
- name: RELATED_IMAGE_POSTGRES_14
value: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.1-0
- name: RELATED_IMAGE_POSTGRES_14_GIS_3.1
value: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-14.1-3.1-0
- name: RELATED_IMAGE_POSTGRES_13
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1"
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0"
- name: RELATED_IMAGE_POSTGRES_13_GIS_3.1
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-13.4-3.1-1"
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:centos8-13.5-3.1-0"
- name: RELATED_IMAGE_PGBACKREST
value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0"
value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0"
- name: RELATED_IMAGE_PGBOUNCER
value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.15-3"
value: "registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:centos8-1.16-0"
- name: RELATED_IMAGE_PGEXPORTER
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.3-0"
value: "registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.0.4-0"
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down
4 changes: 2 additions & 2 deletions kustomize/keycloak/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: keycloakdb
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- replicas: 2
Expand All @@ -25,7 +25,7 @@ spec:
postgres-operator.crunchydata.com/instance-set: "00"
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
repos:
- name: repo1
volume:
Expand Down
4 changes: 2 additions & 2 deletions kustomize/multi-backup-repo/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo-multi-repo
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- dataVolumeClaimSpec:
Expand All @@ -14,7 +14,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
configuration:
- secret:
name: pgo-multi-repo-creds
Expand Down
4 changes: 2 additions & 2 deletions kustomize/postgres/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- name: instance1
Expand All @@ -15,7 +15,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
repos:
- name: repo1
volume:
Expand Down
4 changes: 2 additions & 2 deletions kustomize/s3/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: PostgresCluster
metadata:
name: hippo-s3
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.5-0
postgresVersion: 13
instances:
- dataVolumeClaimSpec:
Expand All @@ -14,7 +14,7 @@ spec:
storage: 1Gi
backups:
pgbackrest:
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.36-0
configuration:
- secret:
name: pgo-s3-creds
Expand Down

0 comments on commit b97aa00

Please sign in to comment.