Browse Source

fix-kube-bench-1.1.19 (#9937)

pull/9944/head
Kay Yan 2 years ago
committed by GitHub
parent
commit
19856cf692
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. 4
      roles/kubernetes/preinstall/tasks/0050-create_directories.yml

4
roles/kubernetes/preinstall/tasks/0050-create_directories.yml

@ -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

Loading…
Cancel
Save