Skip to content

Commit

Permalink
docs: updates note for helm bug workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
tacole02 committed Nov 13, 2024
1 parent 72cbd83 commit dd8524f
Showing 1 changed file with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,16 +335,6 @@ rollout_operator:
runAsUser: null
```
> **Note**: When using `mimir-distributed` as a subchart, setting Helm values to `null` requires a workaround due to [a bug in Helm](https://github.com/helm/helm/issues/9027).
> To set the PodSecurityContext fields to `null`, in addition to the YAML, set the values to `null` via the command line
> when using `helm`. For example, to use `helm tempalte`:
>
> ```bash
> helm template grafana/mimir-distributed -f values.yaml \
> --set 'mimir-distributed.rbac.podSecurityContext.fsGroup=null' \
> --set 'mimir-distributed.rbac.podSecurityContext.runAsUser=null' \
> --set 'mimir-distributed.rbac.podSecurityContext.runAsGroup=null' \
> --set 'mimir-distributed.rollout_operator.podSecurityContext.fsGroup=null' \
> --set 'mimir-distributed.rollout_operator.podSecurityContext.runAsUser=null' \
> --set 'mimir-distributed.rollout_operator.podSecurityContext.runAsGroup=null'
> ```
{{< admonition type="caution" >}}
When using the `mimir-distributed` Helm chart as a dependency, you might experience a known issue while attempting to override default values. To view examples and possible workarounds, refer to [this issue on GitHub](https://github.com/grafana/mimir/issues/8059). If your specific situation isn't addressed, open a new [issue in the Mimir repository](https://github.com/grafana/mimir/issues).
{{< /admonition >}}

0 comments on commit dd8524f

Please sign in to comment.