MikeG
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
7 additions and
0 deletions
-
inventory/sample/group_vars/k8s-cluster/addons.yml
-
roles/kubernetes-apps/external_provisioner/local_path_provisioner/defaults/main.yml
-
roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-deployment.yml.j2
|
|
@ -27,6 +27,8 @@ local_path_provisioner_enabled: false |
|
|
|
# local_path_provisioner_debug: false |
|
|
|
# local_path_provisioner_image_repo: "rancher/local-path-provisioner" |
|
|
|
# local_path_provisioner_image_tag: "v0.0.2" |
|
|
|
# local_path_provisioner_helper_image_repo: "busybox" |
|
|
|
# local_path_provisioner_helper_image_tag: "latest" |
|
|
|
|
|
|
|
# Local volume provisioner deployment |
|
|
|
local_volume_provisioner_enabled: false |
|
|
|
|
|
@ -6,3 +6,4 @@ local_path_provisioner_reclaim_policy: Delete |
|
|
|
local_path_provisioner_claim_root: /opt/local-path-provisioner/ |
|
|
|
local_path_provisioner_is_default_storageclass: "true" |
|
|
|
local_path_provisioner_debug: false |
|
|
|
local_path_provisioner_helper_image_tag: "latest" |
|
|
@ -26,6 +26,10 @@ spec: |
|
|
|
- /etc/config/config.json |
|
|
|
{% if local_path_provisioner_debug|default(false) %} |
|
|
|
- --debug |
|
|
|
{% endif %} |
|
|
|
{{ if local_path_provisioner_helper_image is defined }} |
|
|
|
- --helper-image |
|
|
|
- {{local_path_provisioner_helper_image_repo}}:{{local_path_provisioner_helper_image_tag}} |
|
|
|
{% endif %} |
|
|
|
volumeMounts: |
|
|
|
- name: config-volume |
|
|
|