ITADN

helm/v2-alpha: .github/workflows/test-chart.yml trying to install different image than the one build

#5574Openpiohei 创建于 2026-04-02
kind/bug
P
pioheicommented
### What broke? What's expected? When .github/workflows/test-chart.yml is generated image loaded into kind is `controller:latest` ([ref](https://github.com/kubernetes-sigs/kubebuilder/blob/master/pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/github/test_chart.go#L88)). But then when it is deployed in the workflow it is using `{{ .ProjectName }}:v0.1.0` ([ref](https://github.com/kubernetes-sigs/kubebuilder/blob/master/pkg/plugins/optional/helm/v2alpha/scaffolds/internal/templates/github/test_chart.go#L118)). It should install with the image built in previous step. ### Reproducing this issue As described in docs run `kubebuilder edit --plugins=helm/v2-alpha --force`. Force flag will ensure that `test-chart.yml` will be regenerated. ### KubeBuilder (CLI) Version v4.13.0 (commit bb95ce240477f3d9be177b8c8f40d4876a618f45) ### PROJECT version 3 ### Plugin versions ```yaml layout: - go.kubebuilder.io/v4 plugins: helm.kubebuilder.io/v2-alpha: manifests: dist/install.yaml output: dist ``` ### Other versions _No response_ ### Extra Labels _No response_
0 条评论