Skip to content

(helm/v1-alpha) Add ignore flags when generating chartsย #4326

Open
@damsien

Description

@damsien

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:

  1. Add the flags here:

    type editSubcommand struct {
    config config.Config
    force bool
    }

  2. 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

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions