Skip to content
  • Sam James's avatar
    Add runAsGroup to backup-job securityContext · 59f05671
    Sam James authored and Mitchell Nielsen's avatar Mitchell Nielsen committed
    Adds `runAsGroup` to the backup-job's `securityContext` with `1000` as the default value.
    
    Currently there the toolbox helm chart does not set `runAsGroup` in the pod securityContext. Policy enforcement often has organization rules requiring this to be set to a non-root GID. I had a situation where the policy on a cluster prevented the job pod from being scheduled resulting in backups not being performed.
    
    The original commit adds `runAsGroup` to the chart values. During the review process, it was pointed out that this chart handles securityContext templating differently than most. At the request of the reviewer, this was changed.
    
    Changelog: added
    59f05671