Guidelines for maintaining the Kubebuilder Helm plugin (helm/v2-alpha) in pkg/plugins/optional/helm/v2alpha/. Use when working on Helm plugin code, templates, or chart generation.
Transform kustomize YAML → Helm chart for operator distribution.
Default: Reads dist/install.yaml, writes to dist/chart/
Flags: --manifests=<input> and/or --output-dir=<output>
After code changes in pkg/plugins/optional/helm/v2alpha/:
make install - Build and install updated binarymake generate-charts - Regenerate all sample charts in testdatamake verify-helm - Run yamllint + helm lint + kube-linterNever commit without running make verify-helm.
## = Documentation/description# = Commented-out spec value## line between description and spec## Description of the field
##
# fieldName: value
Uncomment a value only if:
Keep commented if:
All values.yaml fields MUST be conditional in templates. If a user removes a field from values.yaml, the chart must still work.
Required patterns:
Use {{- with }} for optional blocks:
{{- with .Values.manager.affinity }}