aws-samples / eks-cluster-upgrade

Automated Amazon EKS cluster upgrade
MIT No Attribution
154 stars 35 forks source link

fix: Updated checking psp only for versions below 1.25 #68

Closed quixoticmonk closed 1 year ago

quixoticmonk commented 1 year ago

Summary

Resolves: #66

Changes

Updated the preflight check on gathering pod security policies for upgrade versions above 1.25. The updated Policy API has removed this attribute leading to failures on pre-flight checks.

Tested changes against running a pre-flight check and upgrading the cluster to 1.25.

User experience

No changes to user experience. This should continue to behave as expected for cluster upgrades till 1.25 and from 1.25.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.