Commit 2a90c8b
fix(sandbox): add missing PodSecurity restricted:latest fields
Sandbox pods for analysis/execution fail to start on clusters
enforcing the restricted Pod Security Standard (default for
openshift-* namespaces). Add runAsNonRoot and seccompProfile
at both pod and container level in podspec_builder.go and
bootstrap.go, matching the pattern already used by the console
plugin reconciler.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c8d785b commit 2a90c8b
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
0 commit comments