Skip to content

Use ConfigMap for Cloud Controller #19

@bsctl

Description

@bsctl

Use Config Map for Cloud Controller Configuration:

data:
  vsphere.conf: |
    # Global properties...
    global:
      port: 443
      {{- if $config.thumbprint }}
      thumbprint: {{ $config.thumbprint }}
      {{- else if $config.caFile }}
      ca-file: {{ $config.caFile }}
      {{- else }}
      insecureFlag: true
      {{- end }}
      secretName: {{ $config.secret.name }}
      secretNamespace: {{ .Release.Namespace }}

    vcenter:
      {{ $config.vcenter }}:
        server: {{ $config.vcenter }}
        datacenters:
          - {{ $config.datacenter }}

    labels:
      region: {{ $config.region }}
      zone: {{ $config.zone }}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions