Compare commits

...

3 Commits

Author SHA1 Message Date
661f9342b9 fix length measurement of database 2024-04-18 01:17:16 -06:00
9d1244c7a1 remove patch from image tag 2024-04-18 01:07:36 -06:00
0dc50bf88f change default cluster name to start with release 2024-04-17 20:01:47 -06:00
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 2.2.2
version: 2.3.2
description: Chart for cloudnative-pg cluster
keywords:
- database

View File

@@ -26,7 +26,7 @@ bootstrap:
import:
type: {{ .Values.replica.importType }}
databases:
{{- if and (len .Values.replica.importDatabases gt 1) (.Values.replica.importType eq "microservice") }}
{{- if and ((len .Values.replica.importDatabases) gt 1) (.Values.replica.importType eq "microservice") }}
{{ fail "Too many databases in import type of microservice!" }}
{{- else}}
{{- with .Values.replica.importDatabases }}

View File

@@ -5,7 +5,7 @@ Expand the name of the chart.
{{- if .Values.nameOverride }}
{{- .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "postgresql-%s-%s" ((semver .Values.cluster.image.tag).Major | toString) .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- printf "%s-postgresql-%s" .Release.Name ((semver .Values.cluster.image.tag).Major | toString) | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{- end }}

View File

@@ -23,7 +23,7 @@ cluster:
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: "16.2-13"
tag: "16.2"
pullPolicy: IfNotPresent
# The UID and GID of the postgres user inside the image