Skip to content

Conversation

@pgier
Copy link

@pgier pgier commented Aug 16, 2023

We have a use case where we are generating manifests using helm template and then using kubectl apply to add them to the cluster. We can't use kubectl apply --namespace foo because helm template is generating resources for multiple namespaces, so the namespaces need to be set explicitly in the charts. This seems to be a common practice among other popular Helm charts (cert-manager, kube-prometheus-stack, etc).

@chrislin22
Copy link

Agreed. It seems that has been already used here:
https://github.com/chartmuseum/charts/blob/main/src/chartmuseum/templates/servicemonitor.yaml#L6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants