From eb79c0ba68a4692f15670de554715c59e62d2ba4 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 12 Feb 2024 20:06:10 -0700 Subject: [PATCH] add image name value --- charts/postgres-cluster/Chart.yaml | 2 +- charts/postgres-cluster/templates/postgresql-cluster.yaml | 1 + charts/postgres-cluster/values.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index c2212a0..8841c60 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.3 +version: 0.0.4 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 3d642a8..5df2840 100644 --- a/charts/postgres-cluster/templates/postgresql-cluster.yaml +++ b/charts/postgres-cluster/templates/postgresql-cluster.yaml @@ -11,6 +11,7 @@ metadata: app.kubernetes.io/part-of: {{ .Release.Name }} app.kubernetes.io/managed-by: helm spec: + imageName: {{ .Values.cluster.imageName }} instances: {{ .Values.cluster.instances }} replicationSlots: highAvailability: diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 1c15f45..76dd2eb 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -1,5 +1,6 @@ cluster: name: cl01tl + imageName: ghcr.io/cloudnative-pg/postgresql:16.0 instances: 2 parameters: shared_buffers: 128MB