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.
[X] I have performed a self-review of this change
[X] Changes have been tested
[ ] Changes are documented
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.
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.