Create DigitalOcean Secret properly if cluster is not deployed in kube-system namespace #94
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/active
Indicates that an issue or PR is actively being worked on by a contributor.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
User story
We're creating a Secret with DigitalOcean API access token in the same namespace as the Cluster object. That Secret is used by Cluster-API Controllers to communicate with the DigitalOcean API.
However, the same Secret is used by DigitalOcean components, including DO Cloud Controller Manager and DO CSI plugin, which are deployed in kube-system namespace by default.
If Cluster is not deployed in kube-system namespace, Secret will not be deployed in kube-system namespace, and CCM and CSI would fail to start.
Acceptance criteria
The text was updated successfully, but these errors were encountered: