-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
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
type editSubcommand struct { config config.Config force bool } -
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
sebastian-pf9 and dmvolod
Metadata
Metadata
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.