Skip to content

Support for FetchConfig on all provider types in Helm Chart #834

@ezeriver94

Description

@ezeriver94

User Story

As an operator, I would like to deploy CAPI Operator Helm Chart with predefined set of providers and be able to specify FetchConfig for all kinds; currently, only infrastructure providers support it.

I believe this logic (in templates/infra.yaml) should be extended to the rest of templates

{{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $infrastructureName) }}
{{- range $key, $value := $.Values.fetchConfig }}
  {{- if eq $key $infrastructureName }}
  fetchConfig:
    {{- range $k, $v := $value }}
      {{ $k }}: {{ $v }}
    {{- end }}
  {{- end }}
{{- end }}
{{- end }}

/kind feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.kind/supportCategorizes issue or PR as a support question.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions