Skip to content
Snippets Groups Projects
Unverified Commit 050bd052 authored by satandyh's avatar satandyh Committed by GitHub
Browse files

enchance security with CIS Kubernetes V1.23 (#10304)

Benchmark item number 4.1.9
parent fe32de94
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
dest: "{{ kube_config_dir }}/kubelet.env"
setype: "{{ (preinstall_selinux_state != 'disabled') | ternary('etc_t', omit) }}"
backup: yes
mode: 0640
mode: 0600
notify: Node | restart kubelet
tags:
- kubelet
......@@ -22,7 +22,7 @@
template:
src: "kubelet-config.{{ kubeletConfig_api_version }}.yaml.j2"
dest: "{{ kube_config_dir }}/kubelet-config.yaml"
mode: 0640
mode: 0600
notify: Kubelet | restart kubelet
tags:
- kubelet
......
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