mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-07 09:27:38 -02:30
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>
This commit is contained in:
committed by
GitHub
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_claim_root: /opt/local-path-provisioner/
|
||||||
local_path_provisioner_is_default_storageclass: "true"
|
local_path_provisioner_is_default_storageclass: "true"
|
||||||
local_path_provisioner_debug: false
|
local_path_provisioner_debug: false
|
||||||
|
local_path_provisioner_helper_image_repo: "busybox"
|
||||||
local_path_provisioner_helper_image_tag: "latest"
|
local_path_provisioner_helper_image_tag: "latest"
|
||||||
|
|||||||
@@ -30,6 +30,6 @@ data:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: helper-pod
|
- 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
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user