Browse Source

fix local-path-provisioner helper image repo (#7703)

pull/7724/head
Samuel Liu 3 years ago
committed by GitHub
parent
commit
7f7e83a4d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions
  1. 2
      roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-cm.yml.j2
  2. 4
      roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-deployment.yml.j2

2
roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-cm.yml.j2

@ -56,4 +56,4 @@ data:
spec:
containers:
- name: helper-pod
image: busybox
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 %}

4
roles/kubernetes-apps/external_provisioner/local_path_provisioner/templates/local-path-storage-deployment.yml.j2

@ -26,10 +26,6 @@ spec:
- /etc/config/config.json
{% if local_path_provisioner_debug|default(false) %}
- --debug
{% endif %}
{% if local_path_provisioner_helper_image_repo is defined %}
- --helper-image
- {{local_path_provisioner_helper_image_repo}}:{{local_path_provisioner_helper_image_tag}}
{% endif %}
volumeMounts:
- name: config-volume

Loading…
Cancel
Save