Skip to content

Commit

Permalink
Merge pull request #83 from s-urbaniak/patch-3
Browse files Browse the repository at this point in the history
manifests/deployment: comply to restricted pod security level
  • Loading branch information
openshift-merge-robot committed Apr 28, 2022
2 parents 9030c0d + 60a349c commit b746289
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manifests/07_deployment-ibm-cloud-managed.yaml
Expand Up @@ -49,6 +49,10 @@ spec:
cpu: 10m
memory: 50Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsUser: 1001
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
Expand All @@ -57,6 +61,10 @@ spec:
- mountPath: /var/run/secrets/serving-cert
name: serving-cert
priorityClassName: system-cluster-critical
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
serviceAccountName: kube-storage-version-migrator-operator
tolerations:
- effect: NoSchedule
Expand Down
8 changes: 8 additions & 0 deletions manifests/07_deployment.yaml
Expand Up @@ -39,6 +39,10 @@ spec:
memory: 50Mi
cpu: 10m
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsUser: 1001
volumeMounts:
- mountPath: /var/run/configmaps/config
Expand All @@ -65,6 +69,10 @@ spec:
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: "system-cluster-critical"
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
Expand Down

0 comments on commit b746289

Please sign in to comment.