kubernetes-sigs / kubernetes-sigs/cluster-api-operator
Support for FetchConfig on all provider types in Helm Chart
- Dominant language
- Go
- Stars
- 286
- Forks
- 131
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 3
Description
**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
Contributor guide
Research direction
Start with templates/infra.yaml and inspect the other Helm chart templates to identify provider types that lack the existing FetchConfig handling. Compare their rendering logic with the infrastructure template, then verify that a configured FetchConfig is emitted for every provider type; no specific test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100