Documentation
¶
Index ¶
- func FindHelmCharts(dir string) ([]string, error)
- func NewCreateAppPlatformValuesInput(p params.Params, chartName string) input.Input
- func NewCreateHelmReadmeInput(p params.Params, chartName string) input.Input
- func NewCreatePreCommitActionInput(p params.Params) input.Input
- func NewCreatePreCommitConfigInput(p params.Params) input.Input
- func NewCreateSchemaYamlInput(p params.Params, chartName string) input.Input
- func NewCreateValuesSchemaInput(p params.Params, chartName string) input.Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindHelmCharts ¶
FindHelmCharts looks for subdirectories in helm/ that contain Chart.yaml
func NewCreateAppPlatformValuesInput ¶ added in v8.38.5
NewCreateAppPlatformValuesInput generates the schema-only values file with the keys the Giant Swarm app platform injects into every App via the <cluster>-cluster-values ConfigMap. It is listed before values.yaml in the generated .schema.yaml so the chart's own definitions take precedence.
func NewCreateValuesSchemaInput ¶ added in v8.58.0
NewCreateValuesSchemaInput generates helm/<chart>/values.schema.json itself, in-process, running the same three steps the pre-commit hook used to run as a shell pipeline: generate (from values.yaml, via the helm-values-schema-json library) -> $ref fix (refFixGo) -> normalize (schemalint). devctl now writes the committed file directly; the hook only verifies it is up to date (see pre-commit-config.yaml.template). See giantswarm/devctl#2195.
Types ¶
This section is empty.