Allow specification of runAsUserand runAsGroup. This is needy as some cluster (like openshift) may have security constraints that only accepts some range (on our openshift instance for instance it must be in the ranges 1002150000, 1002159999)
Goals
Add some parameters un values.yml files with default value to 802 (the previous static value) and reference it in deployment template files.
Approach
Add two parameters in values.yml. These two are kubernetes.security.runtimeUser and kubernetes.security.runtimeGroup. I willingly put these values under kubernetesas to my mind it is global to the cluster and has nothing to do with a specific business component (am, mi, gateway...)
User stories
None
Release note
Add two parameters: kubernetes.security.runtimeUser to specify the securityContext.runAsUser and kubernetes.security.runtimeGroupto specify the securityContext.runAsGroup
Purpose
Goals
Approach
User stories
Release note
Documentation
Certification
Marketing
Automation tests
“N/A”
Security checks
Samples
“N/A”
Related PRs
“N/A”
Migrations (if applicable)
“N/A”
Test environment
“N/A”
Learning
“N/A”