Updat local-path deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-02-21 16:46:44 +01:00
parent 74333953a8
commit f2ec497c75
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -36,7 +36,7 @@
state: "{{ storage_localpath_state }}" state: "{{ storage_localpath_state }}"
context: "{{ my_context }}" context: "{{ my_context }}"
namespace: "{{ storage_localpath_namespace }}" namespace: "{{ storage_localpath_namespace }}"
merge_type: merge apply: true
resource_definition: "{{ lookup('file', 'local-path/' + item) | from_yaml }}" resource_definition: "{{ lookup('file', 'local-path/' + item) | from_yaml }}"
with_items: with_items:
- "{{ storage_localpath_files_list }}" - "{{ storage_localpath_files_list }}"
@ -65,7 +65,7 @@
name: local-path-provisioner name: local-path-provisioner
nodePathMap: nodePathMap:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES - node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths: [/mnt/local] paths: ["{{ storage_localpath_default_path }}"]
tags: tags:
- storage - storage
- local-path - local-path