Enable PodSecurityPolicy and configure auditing
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
e8ebff30cc
commit
cc7227c86d
3 changed files with 82 additions and 0 deletions
|
|
@ -141,6 +141,16 @@
|
|||
when:
|
||||
- kubernetes_master|bool
|
||||
|
||||
- name: Configure kubelet service
|
||||
file:
|
||||
src: "etc/kubernetes/audit-policy.yaml"
|
||||
dest: "/etc/kubernetes/audit-policy.yaml"
|
||||
group: root
|
||||
owner: root
|
||||
mode: 0644
|
||||
when:
|
||||
- kubernetes_master|bool
|
||||
|
||||
- name: Deploy initial kubeadm config
|
||||
template:
|
||||
src: kubeadm-config.yaml.j2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue