Skip to content

Support dynamic --api-versions and --kube-version in template #11240

@howardjohn

Description

@howardjohn

Currently, helm template takes --api-versions and --kube-version, which is great for use with charts that depend on these values.

It is also, IMO, a good idea that these field are not auto-populated on helm template by default. However, when we do want them populated, manually inputting them is painful.

It would be nice to add a flag to auto detect this (same as helm install). This would be useful for cases like helm template --detect-kube-version | kubectl apply -f - or equivalent, where we already know the cluster we are going to apply to eventually.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions