-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix(helm): allow loki to use hostPath volumes #17680
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): allow loki to use hostPath volumes #17680
Conversation
|
@rurod What did you think about leave the default to false and make the values configurable through the values.yaml? |
|
Hi, thanks for having a look. The issue here is the fact that Thus OpenShift loops on the SCC and removes Then ArgoCD patches the SCC again to add Finally, the two controllers end up being in concurrence and they loop on it forever. I see two solutions :
What do you think @jkroepke ? |
|
Thanks for clarify that. I have not much OpenShift knowledge. But I understand the config drift leads to unstable ArgoCD syncs. I also not understand the point of the First, I had the feeling that ˋhostPath` should not be allowed by default, but I'm fine that administrators can enable hostPath if they wish. I also found grafana/k8s-monitoring-helm#487 that introduces a toggle, like the mentioned option 2. |
|
Hey @rurod just to double check that. is that expected that your commits flagged as unverified? |
|
Hi @jkroepke, In a nutshell, I updated the PR to add the Let me know what you think. |
The signed commits are from the GitHub web ui, the unsigned ones are from my laptop as I am only using an Authentication Key and no Signing Key at the moment. Let me correct this. |
c9db550 to
7c99dce
Compare
…rurod/loki into fix/hostpath-securitycontextconstraints
|
Tried to sign the very first commit, result was not what I expected. If you need me to update something, feel free to ping me @jkroepke, I'll go over the failed checks in the meantime. |
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
Signed-off-by: J Stickler <[email protected]>
Signed-off-by: Jay Clifford <[email protected]>
What this PR does / why we need it:
This PR updates the
SecurityContextConstraintshelm template. It allows Loki to use HostPath volumes in an OpenShift Environment.Which issue(s) this PR fixes:
Fixes #17679
Special notes for your reviewer:
Feel free to suggest any change!
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