Commit 0cc5579
committed
If RunAsUser is set, also set runAsNonRoot and seccompProfile
Reviewer suggested I also set runAsNonRoot and seccompProfile
in addtion to RunAsUser. I tried this on IBM cloud and it seems
to work fine. Note that this likely won't work if the runAsUser
is not set, because then the runAsNonRoot: true will cause the
container to fail to start up because the container itself is
built to default to run as root.1 parent a9565a5 commit 0cc5579
File tree
1 file changed
+3
-0
lines changed- bindata/network/ovn-kubernetes/managed
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
294 | 297 | | |
295 | 298 | | |
296 | 299 | | |
| |||
0 commit comments