Skip to content

feat: add security context, health probes, and fix worker command#7

Merged
FabienPapet merged 1 commit into
mainfrom
feat/security-context-health-probes
May 31, 2026
Merged

feat: add security context, health probes, and fix worker command#7
FabienPapet merged 1 commit into
mainfrom
feat/security-context-health-probes

Conversation

@FabienPapet
Copy link
Copy Markdown
Owner

Summary

  • Add securityContext support for pod and container-level security settings
  • Add liveness and readiness health probe configuration
  • Fix worker command handling

Test results

  • make lint: PASS
  • make unit-test: 21 suites, 135 tests — all PASS
  • make validate: all 14 example files valid (kubeconform k8s 1.29)

Notes

This is part of a stacked PR series. Each PR adds one feature and is based on the previous.

🤖 Generated with Claude Code

- Add podSecurityContext and containerSecurityContext to values.yaml
  injected into deployment, worker, crons, and jobs templates
- Add configurable livenessProbe and readinessProbe (opt-in, empty by default)
  injected into deployment and worker templates
- Fix TODO in worker.yaml: use command+args instead of shell-wrapped command array
- Update values.schema.json with new field definitions
- Add tests/security_context_test.yaml and tests/probes_test.yaml (86 tests pass)
- Add examples/12-security.yaml demonstrating hardened deployment

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@FabienPapet FabienPapet merged commit 668a514 into main May 31, 2026
15 checks passed
@FabienPapet FabienPapet deleted the feat/security-context-health-probes branch May 31, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant