Update of third party addon provider not working #530
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What steps did you take and what happened:
We developed an addon provider which is not in the list of known addon providers.
Installing it via the cluster-api-operator works fine.
But during the upgrade we see that Condition, and the controller continuously reconciles:
We found no way to provide a
.clusterctl
config, and I think it is not needed.We provide a configMap:
We found a dirty work-around:
We forked cluster-api-operator, then we did
go mod vendor
to get the sources ofvendor/sigs.k8s.io/cluster-api/cmd/clusterctl/client/config/providers_client.go
.Then we added our provider
foo
below the existing provider forhelm
:providers_client.go#L403
This fixed the issue for us, and we could upgrade our custom addon provider.
What did you expect to happen:
Since the configMap is given, I think the cluster-api-operator should be able to upgrade the third party addon provider, even if the provider is not listed in the file
providers_client.go
.Anything else you would like to add:
The cluster-api-operator worked fine for us, and this is our first issue.
Environment:
We tried to create a PR to fix that, but we failed.
This following method sometimes found the provider
foo
and sometimes it did not find the provider:/kind bug
/area/upgrades
The text was updated successfully, but these errors were encountered: