feat(helm): Allow enabling user namespaces - #18661
Conversation
jkroepke
left a comment
There was a problem hiding this comment.
Hi, thanks for your PR.
Could you please
- add
feat(helm):as PR Title prefix - add a note to the CHANGELOG?
- run make
helm-docs?
And I miss tests/test-canary.yaml and ingester/statefulset-ingester.yaml
5e0a762 to
6cf5c92
Compare
|
I think I've addresses all comments, rebased on top of latest |
jkroepke
left a comment
There was a problem hiding this comment.
Hi,
thanks for your PR. I tested the PR locally and found some context issues.
Aside form that, my proposed ne .testUsers nil seems not working, but kindIs "bool" .testUsers does. Could you please change the logic? I tested the kindIs function and it works in my case.
jkroepke
left a comment
There was a problem hiding this comment.
LGTM. Lets wait for CI.
|
rebased on latest main |
|
@sebhoss could you fix the merge conflicts please? |
This gates the ``.spec.hostUsers` field behind a semver version check which verifies that a Kubernetes cluster is at least on version 1.33. If that is the case, it sets the field to `true` which disables user namespaces by default because cluster administrators need to prepare their cluster nodes first, before they are able to switch on user namespaces. Fixes grafana#18646 Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
|
rebased on latest main & executed |
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
|
Set to auto merge when tests complete |
Signed-off-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
What this PR does / why we need it:
This gates the
.spec.hostUsersfield behind a semver version check which verifies that a Kubernetes cluster is at least on version 1.33. If that is the case, it sets the field totruewhich disables user namespaces by default because cluster administrators need to prepare their cluster nodes first, before they are able to switch on user namespaces.Which issue(s) this PR fixes:
Fixes #18646
Special notes for your reviewer:
Checklist
CONTRIBUTING.mdguide (required)featPRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.docs/sources/setup/upgrade/_index.mddeprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR