add local-path-provosioner helper image def (#5817)

This commit is contained in:
MikeG
2020-04-08 09:51:43 +03:00
committed by GitHub
parent 0c51352a74
commit 45a177e2a0
3 changed files with 7 additions and 0 deletions

View File

@@ -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"

View File

@@ -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