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 dc32789 commit c0ac473
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 c0ac473

Please sign in to comment.