Skip to content

feat: add PodDisruptionBudget support#9

Merged
FabienPapet merged 2 commits into
mainfrom
feat/pdb
May 31, 2026
Merged

feat: add PodDisruptionBudget support#9
FabienPapet merged 2 commits into
mainfrom
feat/pdb

Conversation

@FabienPapet
Copy link
Copy Markdown
Owner

Summary

  • Add podDisruptionBudget.enabled flag with minAvailable/maxUnavailable configuration
  • Renders pdb.yaml template when enabled

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

Stacked on: feat/hpa-deployment-workers

🤖 Generated with Claude Code

@FabienPapet FabienPapet changed the base branch from feat/hpa-deployment-workers to main May 31, 2026 19:30
@FabienPapet FabienPapet reopened this May 31, 2026
FabienPapet and others added 2 commits May 31, 2026 21:56
- Add templates/pdb.yaml (policy/v1 PDB targeting main deployment)
- Add podDisruptionBudget section to values.yaml (disabled by default)
  supports minAvailable (default 1) and maxUnavailable
- maxUnavailable takes precedence over minAvailable when both are set
- Update values.schema.json with podDisruptionBudget fields
- Add tests/pdb_test.yaml (103 tests pass)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Use helm-frankenphp.fullname for PDB metadata.name (was .Release.Name)
- Update pdb_test name assertion to match fullname output
- Enable podDisruptionBudget (minAvailable: 2) in 08-high-availability.yaml

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@FabienPapet FabienPapet merged commit 5f9f2b7 into main May 31, 2026
15 checks passed
@FabienPapet FabienPapet deleted the feat/pdb branch May 31, 2026 20:02
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