local_path_provisioner: fix invalid podhelper yaml (#10237)
New line was not inserted between image and imagePullPolicy for some reasons with the jinja. Simplifying this altogether should fix this. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>pull/10185/head
parent
7a66be8254
commit
4ad89ef8f1
|
@ -6,4 +6,5 @@ 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_repo: "busybox"
|
||||
local_path_provisioner_helper_image_tag: "latest"
|
||||
|
|
|
@ -30,6 +30,6 @@ data:
|
|||
spec:
|
||||
containers:
|
||||
- name: helper-pod
|
||||
image: {% if local_path_provisioner_helper_image_repo is defined %}{{ local_path_provisioner_helper_image_repo }}:{{ local_path_provisioner_helper_image_tag }}{% else %}busybox{% endif %}
|
||||
image: "{{ local_path_provisioner_helper_image_repo }}:{{ local_path_provisioner_helper_image_tag }}"
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
|
|
Loading…
Reference in New Issue