Skip to content

Commit

Permalink
fix: ensure vsphere password is quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-ibra committed Jul 23, 2024
1 parent 5f57fb8 commit a70e799
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chart/validator/templates/plugin-secret-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ kind: Secret
metadata:
name: {{ required ".Values.pluginSecrets.vSphere.secretName is required!" .Values.pluginSecrets.vSphere.secretName }}
stringData:
username: {{ required ".Values.pluginSecrets.vSphere.username is required!" .Values.pluginSecrets.vSphere.username }}
password: {{ required ".Values.pluginSecrets.vSphere.password is required!" .Values.pluginSecrets.vSphere.password }}
vcenterServer: {{ required ".Values.pluginSecrets.vSphere.vcenterServer is required!" .Values.pluginSecrets.vSphere.vcenterServer }}
username: {{ required ".Values.pluginSecrets.vSphere.username is required!" .Values.pluginSecrets.vSphere.username | quote }}
password: {{ required ".Values.pluginSecrets.vSphere.password is required!" .Values.pluginSecrets.vSphere.password | quote }}
vcenterServer: {{ required ".Values.pluginSecrets.vSphere.vcenterServer is required!" .Values.pluginSecrets.vSphere.vcenterServer | quote }}
insecureSkipVerify: {{ required ".Values.pluginSecrets.vSphere.insecureSkipVerify is required!" .Values.pluginSecrets.vSphere.insecureSkipVerify | quote }}
{{- end }}
{{- end }}

0 comments on commit a70e799

Please sign in to comment.