fix-kube-bench-1.1.19 (#9937)

pull/9944/head
Kay Yan 2023-03-29 12:01:24 +08:00 committed by GitHub
parent 3450865d3f
commit 19856cf692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,12 +19,11 @@
- node
with_items:
- "{{ kube_config_dir }}"
- "{{ kube_cert_dir }}"
- "{{ kube_manifest_dir }}"
- "{{ kube_script_dir }}"
- "{{ kubelet_flexvolumes_plugins_dir }}"
- name: Create other directories
- name: Create other directories of root owner
file:
path: "{{ item }}"
state: directory
@ -43,6 +42,7 @@
- master
- node
with_items:
- "{{ kube_cert_dir }}"
- "{{ bin_dir }}"
- name: Check if kubernetes kubeadm compat cert dir exists