Skip to content

Helm Chart configmap.yaml has incorrect spelling for CA File #1628

Description

@praxiscode

When .config.caFile is specified in the values, it gets rendered in the resulting ConfigMap as:

ca-file: {{ $config.caFile }}

This results in the controller complaining about the vCenter certificate.

The correct rendering is:

caFile: {{ $config.caFile }}

This results in the controller trusting the vCenter certificate signed by one of the provided CAs.

"ca-file" is what one would use in a .ini-formatted file. e.g.:

[VirtualCenter "10.0.0.1"]
  ca-file = "/path/to/my/CA/file"

ref: https://cloud-provider-vsphere.sigs.k8s.io/cloud_config

The .config.caFile option is broken as currently implemented.

This is a one-line fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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