mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 04:09:18 -03:00
typo
This commit is contained in:
@@ -53,14 +53,14 @@
|
||||
{{/* Postgres UID and GID */}}
|
||||
{{- $validTypes := (list "int" "int64" "float64") -}}
|
||||
{{- if $objectData.cluster.postgresUID -}}
|
||||
{{- if not mustHas (kindOf $objectData.cluster.postgresUID) $validTypes -}}
|
||||
{{- if not (mustHas (kindOf $objectData.cluster.postgresUID) $validTypes) -}}
|
||||
{{- fail (printf "CNPG Cluster - Expected [cluster.postgresUID] to be an integer, but got [%s]" (kindOf $objectData.cluster.postgresUID)) -}}
|
||||
{{- end -}}
|
||||
{{- $pgUID = $objectData.cluster.postgresUID -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if $objectData.cluster.postgresGID -}}
|
||||
{{- if not mustHas (kindOf $objectData.cluster.postgresGID) $validTypes -}}
|
||||
{{- if not (mustHas (kindOf $objectData.cluster.postgresGID) $validTypes) -}}
|
||||
{{- fail (printf "CNPG Cluster - Expected [cluster.postgresGID] to be an integer, but got [%s]" (kindOf $objectData.cluster.postgresGID)) -}}
|
||||
{{- end -}}
|
||||
{{- $pgGID = $objectData.cluster.postgresGID -}}
|
||||
|
||||
Reference in New Issue
Block a user