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

fix: map SDK NodeAffinity operators to canonical provider values #365

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

vladklokun
Copy link
Contributor

Before this commit, there was a difference
in how the SDK and the Terraform provider render the K8s Operator In. The SDK returned uppercase IN, while the Terraform provider expected In. This led to Terraform showing a difference in an infrastructure's state even when there was none.

This commit maps SDK Operator values to those defined in the provider.

@vladklokun vladklokun self-assigned this Aug 19, 2024
@vladklokun vladklokun requested a review from a team as a code owner August 19, 2024 23:17
Before this commit, there was a difference
in how the SDK and the Terraform provider render the K8s Operator `In`.
The SDK returned uppercase `IN`, while the Terraform provider expected `In`.
This led to Terraform showing a difference in an infrastructure's state
even when there was none.

This commit maps SDK Operator values to those defined in the provider.
@vladklokun vladklokun force-pushed the fix-map-nodeaffinity-operators-to-canonical-values branch from 95c5347 to 4563f93 Compare August 20, 2024 10:54
@vladklokun vladklokun merged commit 3b16eeb into master Aug 21, 2024
10 checks passed
@vladklokun vladklokun deleted the fix-map-nodeaffinity-operators-to-canonical-values branch August 21, 2024 09:28
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.

2 participants