From 773ff534326904cef05c6421e1561ab16e8b0f42 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 13 Mar 2024 06:00:36 -0600 Subject: [PATCH] update postgresql cluster --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/README.md | 2 +- .../templates/postgresql-cluster.yaml | 1 - charts/postgres-cluster/values.yaml | 12 ++++++------ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index aa74337..a8a636b 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 0.2.1 +version: 0.2.2 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/README.md b/charts/postgres-cluster/README.md index 02b30e8..c9f0b8b 100644 --- a/charts/postgres-cluster/README.md +++ b/charts/postgres-cluster/README.md @@ -2,7 +2,7 @@ [CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg) -CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication. +CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication. This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. diff --git a/charts/postgres-cluster/templates/postgresql-cluster.yaml b/charts/postgres-cluster/templates/postgresql-cluster.yaml index 79b279c..dc1b025 100644 --- a/charts/postgres-cluster/templates/postgresql-cluster.yaml +++ b/charts/postgres-cluster/templates/postgresql-cluster.yaml @@ -9,7 +9,6 @@ metadata: app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: database app.kubernetes.io/part-of: {{ .Release.Name }} - app.kubernetes.io/managed-by: helm spec: imageName: "{{ .Values.cluster.image.repository }}:{{ .Values.cluster.image.tag }}" instances: {{ .Values.cluster.instances }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 6a53f57..209e895 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -19,16 +19,16 @@ cluster: hugepages-2Mi: 512Mi storage: data: - storageClass: ceph-block + storageClass: default size: 10Gi wal: - storageClass: ceph-block + storageClass: default size: 2Gi bootstrap: recoveryEnabled: false recoveryIndex: 1 - endpointURL: https://nyc3.digitaloceanspaces.com - bucket: alexlebens.net + endpointURL: + bucket: initdbEnabled: false initdb: database: app @@ -38,5 +38,5 @@ backup: schedule: "0 0 0 * * *" retentionPolicy: 14d backupIndex: 1 - endpointURL: https://nyc3.digitaloceanspaces.com - bucket: alexlebens.net + endpointURL: + bucket: