rancherfederal / rke2-ansible

RKE2 cluster provisioning via Ansible.
Apache License 2.0
234 stars 129 forks source link

Add pod security admission config #189

Closed jcox10 closed 6 months ago

jcox10 commented 10 months ago

What type of PR is this?

What this PR does / why we need it:

Adds the pod security admission config file for Kubernetes 1.25+. With the removal of pod security policy in 1.25, it is necessary to override the pod security admission controller configuration on hardened clusters to make Rancher MCM or any rancher addon function properly. This file is only necessary on the server nodes.

Which issue(s) this PR fixes:

Closed #149

Release Notes

Add pod security admission config file override functionality.
aleiner commented 6 months ago

Closing after refactoring into #221