feat(helm): add extraObjects support to deploy supplementary resources#753
feat(helm): add extraObjects support to deploy supplementary resources#753gbrd wants to merge 2 commits into
Conversation
Add a new `extraObjects` value to the Plik Helm chart, allowing users
to deploy arbitrary Kubernetes manifests alongside the chart (e.g.
ExternalSecrets, NetworkPolicies, RBAC rules).
Three input forms are supported via `templates/extra-objects.yaml`:
- dict (default, recommended): Helm deep-merges dicts across multiple
`-f` files, so each values file can independently add its own named
key without overwriting keys from other files.
- list: convenient for a single values file; a second `-f` replaces
the entire list.
- string: same last-file-wins behaviour as a list, but the whole block
is evaluated through `tpl` first — useful for inline Go template
expressions (e.g. `{{ include "plik.fullname" . }}`).
All three forms pass manifests through `tpl` before rendering.
Update ARCHITECTURE.md with a comparison table and CHANGELOG.md with
an [Unreleased] entry.
|
no news about this ? |
|
Thanks for the PR, the feature itself is clean and works well. I checked it out locally ( 1. CI make helm-docs
git add charts/plik/README.md2. The generated README table cell is unreadable (recommended). # -- (object) Extra Kubernetes manifests to deploy alongside the chart.
# See ARCHITECTURE.md for the three supported forms (dict / list / string).
# Examples:
# extraObjects:
# my-secret: { ... }
extraObjects: {}Nice work otherwise, the dict-for-mergeability rationale and the docs are excellent. |
…te README Move the verbose examples above the `# --` annotation so helm-docs only captures the one-line description. Regenerate charts/plik/README.md. Addresses PR review feedback (helm-docs CI check + readable table cell).
|
done. may I squash the 2 commits ? |
Add a new
extraObjectsvalue to the Plik Helm chart, allowing users to deploy arbitrary Kubernetes manifests alongside the chart (e.g. ExternalSecrets, NetworkPolicies, RBAC rules).Three input forms are supported via
templates/extra-objects.yaml:-ffiles, so each values file can independently add its own named key without overwriting keys from other files.-freplaces the entire list.tplfirst — useful for inline Go template expressions (e.g.{{ include "plik.fullname" . }}). All three forms pass manifests throughtplbefore rendering. Update ARCHITECTURE.md with a comparison table and CHANGELOG.md with an [Unreleased] entry.