Skip to content

Commit

Permalink
fix required cluster credential name
Browse files Browse the repository at this point in the history
Signed-off-by: atgane <hyper201286@gmail.com>
  • Loading branch information
atgane committed Jan 7, 2025
1 parent 9946d3d commit 6b9431d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stringData:
{{- if $cluster_value.shard }}
shard: {{ $cluster_value.shard | quote }}
{{- end }}
name: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.name entry is required!" $cluster_key }}
name: {{ default $cluster_key $cluster_value.name }}
server: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.server entry is required!" $cluster_value.server }}
{{- if $cluster_value.namespaces }}
namespaces: {{ $cluster_value.namespaces }}
Expand Down

0 comments on commit 6b9431d

Please sign in to comment.