Skip to content
Snippets Groups Projects
Unverified Commit 19856cf6 authored by Kay Yan's avatar Kay Yan Committed by GitHub
Browse files

fix-kube-bench-1.1.19 (#9937)

parent 3450865d
No related branches found
No related tags found
No related merge requests found
...@@ -19,12 +19,11 @@ ...@@ -19,12 +19,11 @@
- node - node
with_items: with_items:
- "{{ kube_config_dir }}" - "{{ kube_config_dir }}"
- "{{ kube_cert_dir }}"
- "{{ kube_manifest_dir }}" - "{{ kube_manifest_dir }}"
- "{{ kube_script_dir }}" - "{{ kube_script_dir }}"
- "{{ kubelet_flexvolumes_plugins_dir }}" - "{{ kubelet_flexvolumes_plugins_dir }}"
- name: Create other directories - name: Create other directories of root owner
file: file:
path: "{{ item }}" path: "{{ item }}"
state: directory state: directory
...@@ -43,6 +42,7 @@ ...@@ -43,6 +42,7 @@
- master - master
- node - node
with_items: with_items:
- "{{ kube_cert_dir }}"
- "{{ bin_dir }}" - "{{ bin_dir }}"
- name: Check if kubernetes kubeadm compat cert dir exists - name: Check if kubernetes kubeadm compat cert dir exists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment