Make local volume provisioner dir mode a variable (#4821)
* Make local volume provisioner dir mode a variable I need to change this for Nagios monitoring. Others may need to as well. Had to close previous commits, sorry for the spam. * Make local volume provisioner dir mode a variable I need to change this for Nagios monitoring. Others may need to as well. Had to close previous commits, sorry for the spam.
This commit is contained in:
parent
4afbf51d32
commit
ab6f0012cc
3 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0700
|
||||
mode: "{{ local_volume_provisioner_directory_mode }}"
|
||||
delegate_to: "{{ item[0] }}"
|
||||
with_nested:
|
||||
- "{{ groups['k8s-cluster'] }}"
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0700
|
||||
mode: "{{ local_volume_provisioner_directory_mode }}"
|
||||
with_items: "{{ local_volume_provisioner_storage_classes.keys() | list }}"
|
||||
when:
|
||||
- inventory_hostname in groups['k8s-cluster']
|
||||
|
|
|
@ -279,6 +279,7 @@ registry_enabled: false
|
|||
metrics_server_enabled: false
|
||||
enable_network_policy: true
|
||||
local_volume_provisioner_enabled: "{{ local_volumes_enabled | default('false') }}"
|
||||
local_volume_provisioner_directory_mode: 0700
|
||||
persistent_volumes_enabled: false
|
||||
cephfs_provisioner_enabled: false
|
||||
rbd_provisioner_enabled: false
|
||||
|
|
Loading…
Reference in a new issue