Skip to content

feat(volumes): add volume management#1

Merged
FabienPapet merged 2 commits intomainfrom
feat/volume-management
Mar 23, 2026
Merged

feat(volumes): add volume management#1
FabienPapet merged 2 commits intomainfrom
feat/volume-management

Conversation

@FabienPapet
Copy link
Copy Markdown
Owner

No description provided.

@FabienPapet FabienPapet force-pushed the feat/volume-management branch from 53a4434 to 4ac5bb9 Compare March 5, 2026 22:08
Add `volumes` and `volumeMounts` values to inject arbitrary Kubernetes
volumes (Secrets, ConfigMaps, PVCs, etc.) into all workloads: deployment,
workers, crons, and jobs.

- charts/frankenphp/values.yaml: add volumes/volumeMounts with commented
  Symfony decrypt key example
- templates/deployment.yaml: render extra volumeMounts and volumes
- templates/worker.yaml: render extra volumeMounts and volumes alongside
  existing php.ini mount
- templates/jobs.yaml: same as worker
- templates/crons.yaml: add volumeMounts and volumes support
- charts/frankenphp/values.schema.json: add schema for volumes/volumeMounts
- README.md: document Volume Management with step-by-step instructions
- examples/11-secrets-volumes.yaml: Symfony decrypt key example

Secrets must be created externally before chart installation; the chart
does not manage secret creation to keep sensitive data out of Helm history.
@FabienPapet FabienPapet force-pushed the feat/volume-management branch from 4ac5bb9 to a797b10 Compare March 12, 2026 22:08
- tests/volumes_test.yaml: 9 tests covering deployment, worker, cron, job
  - extra volumes/volumeMounts are rendered in all workload templates
  - extra mounts are appended after php-ini when both are set
  - volumes section is omitted when nothing is configured
- Fix deployment.yaml: make volumeMounts and volumes sections conditional
  to avoid empty keys in the rendered manifest
@FabienPapet FabienPapet force-pushed the feat/volume-management branch from a797b10 to 6bcdb84 Compare March 23, 2026 17:46
@FabienPapet FabienPapet merged commit 80fa236 into main Mar 23, 2026
14 checks passed
@FabienPapet FabienPapet deleted the feat/volume-management branch April 2, 2026 20:35
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