mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 08:59:19 -03:00
Update _cnpg.tpl
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
{{- if eq $enabled "true" -}}
|
||||
|
||||
{{/* Handle version string */}}
|
||||
{{- $pgVersion := $objectData.pgVersion | default $.Values.global.fallbackDefaults.pgVersion -}}
|
||||
{{- $pgVersion := $objectData.pgVersion | default (toString $.Values.global.fallbackDefaults.pgVersion) -}}
|
||||
{{- $versionConfigMapName := printf "cnpg-%s-pgversion" $objectData.shortName -}}
|
||||
|
||||
{{/* If there are previous configmap, fetch value */}}
|
||||
|
||||
Reference in New Issue
Block a user