-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
EKS Add-on resolve_conflicts with PRESERVE feature tests and docs updated #27038
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccEKSAddon_resolveConflicts' PKG=eks
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/eks/... -v -count 1 -parallel 20 -run=TestAccEKSAddon_resolveConflicts -timeout 180m
=== RUN TestAccEKSAddon_resolveConflicts
=== PAUSE TestAccEKSAddon_resolveConflicts
=== CONT TestAccEKSAddon_resolveConflicts
--- PASS: TestAccEKSAddon_resolveConflicts (794.21s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 798.350s
@vara-bonthu Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.34.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
EKS API now provides three options for
resolve_conflicts
which are NONE, OVERWRITE and PRESERVE.EKS Add-on currently supports a new feature to preserve user configuration during the upgrade of EKS Add-ons. Any changes applied to the managed add-ons using
kubectl
or through any other approach will be retained during the upgrade of managed add-on to the newer version.Current behaviour of the upgrade add-on version overwrites the custom changes applied to the previous version of add-on However, users can retain the custom configuration during the add-on upgrades by using
resolve_conflicts = "PRESERVE"
This new
resolve_conflicts
withPRESERVE
feature is already supported by the current version(4.32.0) of AWS provider since the option of pullingresolve_conflicts
string is dynamic usingeks.ResolveConflicts_Values
hence the users can now pass theresolve_conflicts = "PRESERVE"
during the upgrade of the add-on.I have added the tests and updates to the dcoumentation
Relations
References
Output from Acceptance Testing