Skip to content

Commit d4245e7

Browse files
committed
use printf for cluster name
1 parent a62416b commit d4245e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/abstract-node/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: abstract-node
33
description: External node for syncing and serving blockchain data for Abstract
4-
version: 0.1.12
4+
version: 0.1.13
55
type: application
66
icon: https://abstract-assets.abs.xyz/icons/light.png
77
keywords:

charts/abstract-node/templates/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: postgresql.cnpg.io/v1
33
kind: Cluster
44
metadata:
5-
name: {{- include "common.names.fullname" . -}}{{- if .Values.cnpg.clusterSuffix -}}-{{- .Values.cnpg.clusterSuffix -}}{{- end }}
5+
name: {{ printf "%s-%s" (include "common.names.fullname" .) .Values.cnpg.clusterSuffix | trunc 63 | trimSuffix "-" }}
66
labels:
77
{{- include "common.labels.standard" . | nindent 4 }}
88
spec:

0 commit comments

Comments
 (0)