[PodSecurityPolicy] Move the install of psp (#8744)

This commit is contained in:
Robin Wallace
2022-05-09 18:21:19 +02:00
committed by GitHub
parent 02b6e4833a
commit 42fc71fafa
6 changed files with 44 additions and 47 deletions

View File

@@ -206,6 +206,12 @@
tags:
- kubeadm_token
- name: PodSecurityPolicy | install PodSecurityPolicy
include_tasks: psp-install.yml
when:
- podsecuritypolicy_enabled
- inventory_hostname == first_kube_control_plane
- name: kubeadm | Join other masters
include_tasks: kubeadm-secondary.yml