-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digital Ocean Project support #2197
Comments
Why is this a bug?! |
I thought the examples as complete for a specific vendor's environment. It will be useful for other users of the DO cloud to know about this. This is why I created two issues: One for the documentation, and one here for the technical part. Since the Digital Ocean provider is an officially supported module, I didn't consider this a Feature Request. Indeed labeling this documentation question as a bug might be irritating, which is due to the nature of KubeOne's code and the examples being unified in the same repository. |
/kind feature |
This also extends beyond the Terraform example, but also occurs with the MachineController: A droplet is created in the default project, and the project information in the Terraform JSON state is not respected by KubeOne. It was possible to delete the MachineDeployment in the cluster, setting the desired project as default project at Digital Ocean, and then recreating it from the KubeOne manifest:
This is consistent with what the KubeOne output says:
Simply recreating the cluster worked better:
Here we always want to keep the existing project, since it is set as default, and reuse it for the next iteration. We have to create a Digital Ocean Cloud Project in advance, set it there as default, and then import it to Terraform:
In case we need to revise something, it is suggested to remove it from the Terraform state, to have it not be deleted, and another project set as default:
|
What happened?
As outlined in kubermatic/docs#1116, KubeOne's documentation does not yet feature details about Digital Ocean's new Projects, which are also supported by Terraform.
Expected behavior
Digital Ocean Projects are explained in
How to reproduce the issue?
Read the docs.
What KubeOne version are you using?
Additional information
This can be implemented with
main.tf
variables.tf
The text was updated successfully, but these errors were encountered: