DandyDeveloper / charts

Various helm charts migrated from [helm/stable] due to deprecation
https://dandydeveloper.github.io/charts
Apache License 2.0
156 stars 143 forks source link

[chart/redis-ha][Openshift] Add compatibility for Openshift securityContext #285

Open Baboulinet-33 opened 2 months ago

Baboulinet-33 commented 2 months ago

Hello,

I'm trying to use this chart via the argo-cd chart on Openshift.

Openshift doesn't allow to have the property runAsUser (and other) set in securityContext for containers/pod.

Is it possible to have a switch in case of using Openshift, like in bitnami chart: https://github.com/bitnami/charts/blob/e9d407ce90216f5324e6be1a6175fdfef264753d/bitnami/common/templates/_compatibility.tpl#L9 ?