hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.56k stars 963 forks source link

Fix nodeTaintsPolicy panic when NodeAffinityPolicy undefined #2491

Closed tzasacky closed 1 month ago

tzasacky commented 1 month ago

Description

Typo causes panic when TopologySpreadConstraints includes nodeTaintsPolicy and not NodeAffinityPolicy.

Acceptance tests

Trivially correct, N/A

References

https://github.com/hashicorp/terraform-provider-kubernetes/issues/2490

Community Note

hashicorp-cla-app[bot] commented 1 month ago

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] commented 1 month ago

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


Tye Zasacky seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.