(fix): Remove sudo privilege from helm-charts

- Change security context to anyuid
- Changed from deployment to job, now the pods will be in completed
This commit is contained in:
Sagar Arora
2022-11-10 11:20:54 +01:00
parent 1336a41024
commit ff738b7bf9
46 changed files with 189 additions and 538 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ rules:
- apiGroups:
- security.openshift.io
resourceNames:
- privileged
- anyuid
resources:
- securitycontextconstraints
verbs:
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.global.serviceAccountName }}
name: oai-physim-sa #{{ .Values.global.serviceAccountName }}