You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The migration away from the deprecated PodSecurityPolicy specified in #638 has not been applied to the all-resources.yaml and all-resources-queue-processor.yaml release artifacts with the v1.19.0 release. Given that Pod Security Admission is compatible starting with Kubernetes v1.22+ and that PodSecurityPolicy has been removed in Kubernetes v1.25+, it might make sense to update these release artifacts to use Pod Security Admission to be forward compatible for the 5 most recent versions of Kubernetes at the time of this issue being created, rather than preserving the format needed for the legacy two versions.
See prior discussion here for the origination of this issue being created:
Hi @sernst, additional resource files for k8s >=1.25 have been uploaded to the v1.19 release. The release process has also been updated to automatically create resources for k8s >=1.25 during future NTH releases.
Describe the bug
The migration away from the deprecated
PodSecurityPolicy
specified in #638 has not been applied to theall-resources.yaml
andall-resources-queue-processor.yaml
release artifacts with the v1.19.0 release. Given that Pod Security Admission is compatible starting with Kubernetes v1.22+ and thatPodSecurityPolicy
has been removed in Kubernetes v1.25+, it might make sense to update these release artifacts to use Pod Security Admission to be forward compatible for the 5 most recent versions of Kubernetes at the time of this issue being created, rather than preserving the format needed for the legacy two versions.See prior discussion here for the origination of this issue being created:
#638 (comment)
Steps to reproduce
Try applying either the
all-resources.yaml
andall-resources-queue-processor.yaml
from the v1.19.0 release:https://github.com/aws/aws-node-termination-handler/releases/tag/v1.19.0
on a Kubernetes v1.25+ cluster to see the
PodSecurityPolicy
resource does not exist error.Expected outcome
When applying those resource yaml configurations to a Kubenertes v1.25+ cluster, I was expecting not to find resources incompatible with the version.
Application Logs
N/A
Environment
Attempted to install on a Kubernetes v1.25 EKS cluster.
The text was updated successfully, but these errors were encountered: