Resource kubernetes_node_taint
incorrectly denies the creation of multiple taints that share the same key but different effects
#2662
Labels
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/xinkechen-evernorth/4e72460bbfc50510915a497506ca4291
Panic Output
N/A
Steps to Reproduce
From personal research, this behavior of allowing taints over the same key but different effects has been part of K8S since about 2016 (see upstream PR) and should be applicable for all versions since then.
As another example, the docs for a popular Kubernetes distribution, OKD/Red Hat OpenShift, also has the explicit instruction to users to create dedicated "infrastructure" nodes of the following specification:
References
kubernetes_node_taint
so that taints are unique over key and effect and not just key #2611 - my proposed change to extend the resource to support taints using the same key but with different effectsCommunity Note
The text was updated successfully, but these errors were encountered: