Skip to content

Commit

Permalink
Add status subresource to HelmChart CRD
Browse files Browse the repository at this point in the history
Silences `handler helm-controller-chart-registration: helmcharts.helm.cattle.io "foo" not found, requeuing` errors when the controller attempts to patch the status subresource

Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Aug 2, 2024
1 parent 8d51715 commit 333b5af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/crd/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ func List() []crd.CRD {
WithColumn("Version", ".spec.version").
WithColumn("Repo", ".spec.repo").
WithColumn("HelmVersion", ".spec.helmVersion").
WithColumn("Bootstrap", ".spec.bootstrap")
WithColumn("Bootstrap", ".spec.bootstrap").
WithStatus()

config := crd.NamespacedType("HelmChartConfig.helm.cattle.io/v1").
WithSchemaFromStruct(v1.HelmChartConfig{})
Expand Down

0 comments on commit 333b5af

Please sign in to comment.