Closed enekofb closed 1 year ago
Pesto is extending Explorer with GitopsSets following the documentation and the internal guide
Where the following errors was found:
{"level":"error","ts":"2023-08-30T14:23:00.657Z","msg":"failed to get status from object management/default/gitopsset-configmaps","error":"unknown object type: *v1alpha1.GitOpsSet","stacktrace":"github.com/weaveworks/weave-gitops-enterprise/pkg/query/objectscollector.processRecords\n\t/Users/simon/weave/weave-gitops-enterprise/pkg/query/objectscollector/objectscollector.go:100[ngithub.com/weaveworks/weave-gitops-enterprise/pkg/query/objectscollector.NewObjectsCollector.func1](http://ngithub.com/weaveworks/weave-gitops-enterprise/pkg/query/objectscollector.NewObjectsCollector.func1)\n\t/Users/simon/weave/weave-gitops-enterprise/pkg/query/objectscollector/objectscollector.go:24"}
due to GitopsSet not be a FluxObject
This ticket to
AC
ToFluxObject
Raised PR with extended documentation but feels that we should look into potentially break this depdency
https://github.com/weaveworks/weave-gitops-enterprise/blob/f36d549b6010afbd3c086c4955637586629ec589/pkg/query/internal/models/object.go#L113C1-L129
what do you think @jpellizzari ?
PR approved :+1:
Pesto is extending Explorer with GitopsSets following the documentation and the internal guide
Where the following errors was found:
due to GitopsSet not be a FluxObject
This ticket to
AC
ToFluxObject
that we need to remove and remove it or