mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
update local path provisioner version and remove psp (#10054)
* update local_path_provisioner_version * remove psp and update cm
This commit is contained in:
@@ -25,17 +25,6 @@
|
||||
- { name: local-path-storage-cm, file: local-path-storage-cm.yml, type: cm }
|
||||
- { name: local-path-storage-deployment, file: local-path-storage-deployment.yml, type: deployment }
|
||||
- { name: local-path-storage-sc, file: local-path-storage-sc.yml, type: sc }
|
||||
local_path_provisioner_templates_for_psp_not_system_ns:
|
||||
- { name: local-path-storage-psp, file: local-path-storage-psp.yml, type: psp }
|
||||
- { name: local-path-storage-psp-role, file: local-path-storage-psp-cr.yml, type: clusterrole }
|
||||
- { name: local-path-storage-psp-rb, file: local-path-storage-psp-rb.yml, type: rolebinding }
|
||||
|
||||
- name: Local Path Provisioner | Insert extra templates to Local Path Provisioner templates list for PodSecurityPolicy
|
||||
set_fact:
|
||||
local_path_provisioner_templates: "{{ local_path_provisioner_templates[:3] + local_path_provisioner_templates_for_psp_not_system_ns + local_path_provisioner_templates[3:] }}"
|
||||
when:
|
||||
- podsecuritypolicy_enabled
|
||||
- local_path_provisioner_namespace != "kube-system"
|
||||
|
||||
- name: Local Path Provisioner | Create manifests
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user