mirror of https://git.rancher.io/charts
11 lines
375 B
YAML
11 lines
375 B
YAML
{{- if .Values.vCenter.credentialsSecret.generate -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ .Values.vCenter.credentialsSecret.name }}
|
|
namespace: {{ .Release.Namespace }}
|
|
data:
|
|
{{ .Values.vCenter.host }}.username: {{ .Values.vCenter.username | b64enc | quote }}
|
|
{{ .Values.vCenter.host }}.password: {{ .Values.vCenter.password | b64enc | quote }}
|
|
{{- end -}}
|