Skip to content

Commit

Permalink
fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtof committed Dec 5, 2023
1 parent 54ea8de commit 448c186
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charts/nutanix-csi-storage/templates/ntnx-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- if eq .Values.createSecret true }}
{{- if eq .Values.kindtest false }}
{{- if eq .Values.createSecret true }}


{{- $username := .Values.username | required "username is required to create secret." -}}
{{- $password := .Values.password | required "password is required to create secret." -}}
Expand All @@ -15,7 +16,6 @@ data:
# E.g.: echo -n "10.83.0.91:9440:admin:mypassword" | base64
key: {{ printf "%s:9440:%s:%s" .Values.prismEndPoint .Values.username .Values.password | b64enc}}
{{- end }}
{{- end }}

{{- if eq .Values.createPrismCentralSecret true }}

Expand All @@ -33,3 +33,4 @@ data:
# E.g.: echo -n "10.83.0.91:9440:admin:mypassword" | base64
key: {{ printf "%s:9440:%s:%s" .Values.prismCentralEndPoint .Values.pcUsername .Values.pcPassword | b64enc}}
{{- end }}
{{- end }}

0 comments on commit 448c186

Please sign in to comment.