Closed Nithinrao9696 closed 2 months ago
@Vad1mo please check when you get a chance
can someone please take appropriate action on this?
Hi @Nithinrao9696 ,
Thanks for contributing for harbor-helm, however this pod-level security contexts do not needs anymore actually, and we don't have any plan to expose this as a configuration anymore. Please kindly use the container-level security contexts.
I would like to close this PR per above comments.
Best, Miner
Summary
This PR updates the YAML configuration to replace hardcoded values for
runAsUser
andfsGroup
with templated values. This change enhances the configurability and maintainability of the configuration files.Details
runAsUser
value with{{ .Values.database.securityContext.runAsUser }}
fsGroup
value with{{ .Values.database.securityContext.fsGroup }}
These changes allow for more flexible configuration management by enabling the values to be defined dynamically based on the values provided in the Helm chart's values file.
Impact
How to Test
values.yaml
or equivalent) contains the necessaryrunAsUser
andfsGroup
values under thedatabase.securityContext
section.Additional Notes
Please review the changes and provide feedback.