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

Support dynamic check podSecurityPolicy support #203

Merged

Conversation

timdengyun
Copy link
Contributor

Since PodSecurityPolicy is not supported any longer starting k8s >= v1.25.0,
So, it's good that using runtime k8s version decides to apply
PodSecurityPolicy or not. If k8s >= v1.25.0, PodSecurityPolicy resources
will not be applied.

@timdengyun timdengyun force-pushed the Dynamic_check_podSecurityPolicySupport branch from 4030b57 to 6366d4a Compare September 5, 2022 04:15
pkg/controller/sharedinfo/shared_info.go Outdated Show resolved Hide resolved
pkg/controller/sharedinfo/shared_info.go Outdated Show resolved Hide resolved
pkg/controller/sharedinfo/shared_info.go Outdated Show resolved Hide resolved
Since PodSecurityPolicy is not supported any longer starting k8s >= v1.25.0,
So, it's good that using runtime k8s version decides to apply
PodSecurityPolicy or not. If k8s >= v1.25.0, PodSecurityPolicy resources
will not be applied.
@timdengyun timdengyun force-pushed the Dynamic_check_podSecurityPolicySupport branch from 6366d4a to 8835940 Compare September 5, 2022 09:28
@timdengyun timdengyun merged commit 7cd977b into vmware:master Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants