-
Notifications
You must be signed in to change notification settings - Fork 557
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
Helm: fix namespace issues #2123
Conversation
Should update minio to a newer version as well to get the namespace definitions in minio subchart templates. |
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, two small nits
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> Co-authored-by: Rasmus Dencker <rd@firtal.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> Co-authored-by: Rasmus Dencker <rd@firtal.com>
Add namespace and namespaceSelector default values. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> Co-authored-by: Rasmus Dencker <rd@firtal.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Does not work in CI as there is no Prom Monitor installed so CRDs are not defined. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
5d3ea62
to
a0b6f88
Compare
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
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.
tried to look at changes since last time I reviewed. couldn't find any. lgtm
I testing installing this via helm template and only got the minio resources in the current namespace as opposed to the namespace from the |
* Helm: add namespace specification to all objects * Helm: add some default values for ServiceMonitor objects Add namespace and namespaceSelector default values. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> Co-authored-by: Rasmus Dencker <rd@firtal.com>
What this PR does
Add namespace definitions to kubernetes objects so that helm install works correctly even if the namespace does not exist yet.
Add default namespace definition and default namespace selector for ServiceMonitor objects.
Which issue(s) this PR fixes or relates to
Fixes #2045
Based on: #2040
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]