-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(helm): explicitly include namespace in manifests #1606
Conversation
Currently, most of the manifests omit `.metadata.namespace`. This works fine with `helm install` / `helm upgrade` where all the manifests without a namespace will be installed to `--namespace` anyway. However, `helm template` will produce the manifests as-is (with no namespace), regardless of `--namespace`, forcing users to add the namespace manually or use more tooling. This change adds the namespace to all manifests.
This PR has not had any activity in the past 30 days, so the |
@clayton-cornell I'm just tagging a random contributor here. What is this PR missing to get merged? |
@neopointer It looks like this one got missed in the shuffle. Lets see if we can get a developer/maintainer review happening here. @grafana/grafana-alloy-maintainers can someone from the team take a look at this? |
This looks reasonable to me and the namespace defaults to release.namespace so should be backwards compatible for how it was meant to be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@petewall any thoughts on if this causes any issue? |
This PR #2044 seems to be the most active and achieves the same result? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking to see if we can consolidate PRs
Closing in favor of #2044, it's more complete and achieves the same. |
Currently, most of the manifests omit
.metadata.namespace
.This works fine with
helm install
/helm upgrade
where all the manifests without a namespace will be installed to--namespace
anyway.However,
helm template
will produce the manifests as-is (with no namespace), regardless of--namespace
, forcing users to add the namespace manually or use more tooling.This change adds the namespace to all manifests.
Fixes #1607
PR Description
Which issue(s) this PR fixes
Notes to the Reviewer
PR Checklist