Commit a63fe15
fix(supervisor): wire workerPodSecurityContext/etc env vars
PR #12 added supervisor.config.kubernetes.workerPodSecurityContext,
workerContainerSecurityContext, and workerPodAnnotations to values.yaml
but the supervisor.yaml template never read them. The supervisor's
Kubernetes workload manager reads KUBERNETES_WORKER_POD_SECURITY_CONTEXT,
KUBERNETES_WORKER_CONTAINER_SECURITY_CONTEXT, and
KUBERNETES_WORKER_POD_ANNOTATIONS env vars at runtime (JSON-parsed) and
applies them to every worker pod it schedules.
Without this wiring, worker pods on FedStart / GameWarden deployments
are missing their compliance-required securityContext entries and would
be rejected by pod-security admission.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 60e3ebe commit a63fe15
2 files changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
177 | 189 | | |
178 | 190 | | |
179 | 191 | | |
| |||
0 commit comments