From 81bd94a1dba4e7df9792438c12d9d3ac813fe620 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 28 Feb 2024 11:42:33 -0300 Subject: [PATCH] split imageName into imageRepo and imageTag --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/postgresql-cluster.yaml | 2 +- charts/postgres-cluster/values.yaml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index f45db9c..20eb76a 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 0.0.5 +version: 0.1.0 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 652058d..5640abe 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.imageName }} + imageName: "{{ .Values.cluster.imageRepo }}:{{ .Values.cluster.imageTag }}" instances: {{ .Values.cluster.instances }} replicationSlots: highAvailability: diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 76dd2eb..f69a268 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -1,6 +1,7 @@ cluster: name: cl01tl - imageName: ghcr.io/cloudnative-pg/postgresql:16.0 + imageName: ghcr.io/cloudnative-pg/postgresql + imageTag: 16.0 instances: 2 parameters: shared_buffers: 128MB