Compare commits
No commits in common. "24c751adec2a0c17e6d21b871ac90045cc9c876a" and "44059978765dc6f125c7d2dd3aede20074d26595" have entirely different histories.
24c751adec
...
4405997876
2 changed files with 30 additions and 30 deletions
|
|
@ -3,7 +3,7 @@ my_context: minikube
|
||||||
storage_manual: true
|
storage_manual: true
|
||||||
|
|
||||||
storage_localpath: true
|
storage_localpath: true
|
||||||
storage_localpath_version: "v0.0.21"
|
storage_localpath_version: "v0.0.20"
|
||||||
storage_localpath_default_path: "/mnt/local"
|
storage_localpath_default_path: "/mnt/local"
|
||||||
storage_localpath_namespace: "local-path-storage"
|
storage_localpath_namespace: "local-path-storage"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,30 +16,30 @@
|
||||||
when:
|
when:
|
||||||
- not storage_localpath|bool
|
- not storage_localpath|bool
|
||||||
|
|
||||||
# - name: namespace
|
- name: namespace
|
||||||
# kubernetes.core.k8s:
|
k8s:
|
||||||
# state: present
|
state: present
|
||||||
# context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
# merge_type: merge
|
merge_type: merge
|
||||||
# definition:
|
definition:
|
||||||
# api_version: v1
|
api_version: v1
|
||||||
# kind: Namespace
|
kind: Namespace
|
||||||
# metadata:
|
metadata:
|
||||||
# name: "{{ storage_localpath_namespace }}"
|
name: "{{ storage_localpath_namespace }}"
|
||||||
# labels:
|
labels:
|
||||||
# namespace: '{{ storage_localpath_namespace }}'
|
namespace: '{{ storage_localpath_namespace }}'
|
||||||
# when:
|
when:
|
||||||
# - storage_localpath|bool
|
- storage_localpath|bool
|
||||||
#
|
|
||||||
# - name: local-path-storage need to be {{ storage_localpath_state }}
|
- name: local-path-storage need to be {{ storage_localpath_state }}
|
||||||
# kubernetes.core.k8s:
|
k8s:
|
||||||
# state: "{{ storage_localpath_state }}"
|
state: "{{ storage_localpath_state }}"
|
||||||
# context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
# namespace: "{{ storage_localpath_namespace }}"
|
namespace: "{{ storage_localpath_namespace }}"
|
||||||
# apply: true
|
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 }}"
|
||||||
|
|
||||||
# https://github.com/rancher/local-path-provisioner/tree/master/deploy/chart
|
# https://github.com/rancher/local-path-provisioner/tree/master/deploy/chart
|
||||||
- name: Downloal Local-path repository
|
- name: Downloal Local-path repository
|
||||||
|
|
@ -59,11 +59,11 @@
|
||||||
release_namespace: "{{ storage_localpath_namespace }}"
|
release_namespace: "{{ storage_localpath_namespace }}"
|
||||||
create_namespace: true
|
create_namespace: true
|
||||||
values:
|
values:
|
||||||
# rbac:
|
rbac:
|
||||||
# create: false
|
create: false
|
||||||
# serviceAccount:
|
serviceAccount:
|
||||||
# create: false
|
create: false
|
||||||
# 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: ["{{ storage_localpath_default_path }}"]
|
paths: ["{{ storage_localpath_default_path }}"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue