From 1f3a4d30427081e379637287a9bf335f8aa2475b Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 28 Feb 2024 12:38:11 -0300 Subject: [PATCH] rename values --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/postgresql-cluster.yaml | 2 +- charts/postgres-cluster/values.yaml | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) 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