rancher-charts/charts/rancher-vsphere-cpi/1.0.1/templates/vsphere-cloud-config-cm.yaml

16 lines
489 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: cloud-config
namespace: {{ .Release.Namespace }}
data:
vsphere.conf: |
[Global]
secret-name = {{ .Values.vCenter.credentialsSecret.name | quote }}
secret-namespace = {{ .Release.Namespace | quote }}
port = {{ .Values.vCenter.port | quote }}
insecure-flag = {{ .Values.vCenter.insecureFlag | quote }}
[VirtualCenter {{ .Values.vCenter.host | quote }}]
datacenters = {{ .Values.vCenter.datacenters | quote }}