feat(helm): Make access modes for persistence on all PVCs and StatefulSets editable - #13474
Conversation
|
[disclaimer: I'm not a maintainer, just having a quick look out of curiosity] The code looks good to me. But you should re-generate the doc ( |
|
@hervenicol Thank you! Will do |
…enable-editing-write-access-mode-in-the-helm-chart
|
Hi, thanks for your PR. could you add this on all PVCs and Statefulsets? |
…-mode-in-the-helm-chart # Conflicts: # production/helm/loki/Chart.yaml # production/helm/loki/README.md
|
@jkroepke Hi, I have added access mode option to all StatefulSets. |
|
@jkroepke All issues are resolved. |
|
@petarnikolovski could you take a look at the merge conflicts and get them resolved? |
|
Hi @petarnikolovski, my apolgies would you mind merging with main. This should clear up the workflow errors and we can look to get this merged |
|
@Jayclifford345 @JStickler I've updated the branch to most recent version. |
|
Will annotate changelog with breaking change due to #19065 |
What this PR does / why we need it:
In case of self-hosted Kubernetes infrastructure there may be problems with RWO and StatefulSet. In our case, we need to have RWX so we can avoid multi-attach volume issues when node goes down. This PR introduces access mode in a backward compatible manner, leaving the option editable for chart users.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
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.mdproduction/helm/loki/Chart.yamland updateproduction/helm/loki/CHANGELOG.mdandproduction/helm/loki/README.md. Example PRdeprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR