chainloop icon indicating copy to clipboard operation
chainloop copied to clipboard

feat(chart): add support to advanced securityContext

Open migmartri opened this issue 1 year ago • 0 comments

Currently we have basic securityContext support in our chart, basically we require the user to put the rules in the values.yaml file and will get injected accordingly.

Some of our dependencies though do better, like for the example the Bitnami potgresql that relies on this helper from the common chart that automatically detects if we are running in openshift and so on.

https://github.com/bitnami/charts/blob/81d78de0632ea9d4743632f923f08e68fd0ee365/bitnami/postgresql/templates/primary/statefulset.yaml#L83

We should implement a similar approach we our whole chart is compatible with this method.

migmartri avatar Jun 14 '24 07:06 migmartri