add:(admission-webhooks) ability to set securityContext for job-containers createSecret and patchWebhook (#9186)

Signed-off-by: ybelMekk <youssef.bel.mekki@nav.no>

Signed-off-by: ybelMekk <youssef.bel.mekki@nav.no>
This commit is contained in:
Youssef Bel Mekki 2022-10-25 23:14:36 +02:00 committed by GitHub
parent a383cfc551
commit ac1a3363bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View file

@ -627,6 +627,8 @@ controller:
type: ClusterIP
createSecretJob:
securityContext:
allowPrivilegeEscalation: false
resources: {}
# limits:
# cpu: 10m
@ -636,6 +638,8 @@ controller:
# memory: 20Mi
patchWebhookJob:
securityContext:
allowPrivilegeEscalation: false
resources: {}
patch: