Commit ea2d8fd
fix: remove fixed runAsUser from hello-openshift Deployments
Bare Pods ran under kube:admin with anyuid SCC, but Deployment-created
pods use the default ServiceAccount which only has restricted-v2 SCC.
Remove the fixed runAsUser: 1001 and let OpenShift assign a UID from
the namespace range. runAsNonRoot: true ensures non-root execution.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e0b936e commit ea2d8fd
3 files changed
Lines changed: 0 additions & 3 deletions
File tree
- charts/coco-supported/hello-openshift/templates
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments