diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 20eb76a..e762e6a 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 0.1.0 +version: 0.1.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/postgresql-cluster.yaml b/charts/postgres-cluster/templates/postgresql-cluster.yaml index 5640abe..e7668e3 100644 --- a/charts/postgres-cluster/templates/postgresql-cluster.yaml +++ b/charts/postgres-cluster/templates/postgresql-cluster.yaml @@ -11,7 +11,7 @@ metadata: app.kubernetes.io/part-of: {{ .Release.Name }} app.kubernetes.io/managed-by: helm spec: - imageName: "{{ .Values.cluster.imageRepo }}:{{ .Values.cluster.imageTag }}" + imageName: "{{ .Values.cluster.image.repository }}:{{ .Values.cluster.image.tag }}" instances: {{ .Values.cluster.instances }} replicationSlots: highAvailability: diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index f69a268..a1ba68c 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -1,7 +1,8 @@ cluster: name: cl01tl - imageName: ghcr.io/cloudnative-pg/postgresql - imageTag: 16.0 + image: + repository: ghcr.io/cloudnative-pg/postgresql + tag: 16.0 instances: 2 parameters: shared_buffers: 128MB