Commit 13c799c
authored
Remove securityContext from manager Deployment (#751)
Removing unnecessary securityContext from manager Pod:
- runAsUser & runAsGroup are already enabled by the `USER` line of the
Dockerfile
- fsGroup is unneeded since the manager mounts no volumes.
The securityContext field overrides some of Openshift's arbitrary user
handling, while providing no benefit to the operator. Removing it
provides the same security guarantees as before, while also making
Openshift installation experience the same as any other Kubernetes
distribution.1 parent 43e16bb commit 13c799c
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 33 | | |
38 | 34 | | |
39 | 35 | | |
| |||
0 commit comments