Open
Description
What do you want to happen?
Motivated by this discussion.
Today, when we want to use the helm plugin, the values.yaml
is scaffolled with many defaults settings that the develope may not want to have (promtheus, some samples CRs, ...).
Our proposal is to implement ignore-
flags that could be used when generating the values.yaml
. The flags could be the following:
ignore-samples
ignore-prometheus
ignore-networkPolicy
ignore-certmanager
ignore-webhook
How to implement it?
Here is my proposal:
-
Add the flags here:
kubebuilder/pkg/plugins/optional/helm/v1alpha/edit.go
Lines 31 to 34 in e9beffb
-
Add one function per flag in this file in order to not add the settings to the scaffold if the
ignore
flag is specified
Extra Labels
No response