Skip to content
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

Adds support for kubernetes node pool taints #596

Merged
merged 6 commits into from
Mar 18, 2021

Conversation

scotchneat
Copy link
Contributor

@scotchneat scotchneat commented Mar 9, 2021

Includes some refactoring to allow schema reuse.

  • moved node pool related schemas to digitalocean/kubernetes.go

This allows the taints attribute to be exposed to both the kubernetes_cluster resource and datasource, as well as the kubernetes_node_pool resource.

I'd like some feedback about the attribute name: taint. Since this represents a list, I can see this being confusing and wanted to know how others feel about making this plural (would match the API also). Although, the singular tense makes the UI in terraform config files much clearer.

closes #374

@scotchneat scotchneat requested a review from a team March 9, 2021 14:36
digitalocean/kubernetes.go Outdated Show resolved Hide resolved
@aybabtme
Copy link
Contributor

And here I was about to implement this in aybabtme@51e3dbd. Looking forward to this getting released!

@scotchneat scotchneat dismissed a stale review via 8dabf66 March 16, 2021 18:17
@scotchneat scotchneat dismissed andrewsomething’s stale review March 16, 2021 19:58

I've pushed my latest changes which address the requested changes

Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good!

@scotchneat scotchneat merged commit c73e7a5 into digitalocean:main Mar 18, 2021
@scotchneat scotchneat deleted the kube-node-taints branch March 18, 2021 17:37
@aybabtme
Copy link
Contributor

🥳 thanks for implementing this!

andrewsomething pushed a commit that referenced this pull request Apr 26, 2021
* Adds support for kubernetes node pool taints

* Address feedback and fix update logic

* Address feedback and fix the failing cluster test

* Removed commented lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for node taint
3 participants