Преглед на файлове

Merge pull request #9684 from jarrpa/glusterfs-heketi-url

GlusterFS: Remove domain from heketi URL
OpenShift Merge Robot преди 6 години
родител
ревизия
da7282dd6b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      roles/openshift_storage_glusterfs/templates/glusterfs-storageclass.yml.j2

+ 1 - 1
roles/openshift_storage_glusterfs/templates/glusterfs-storageclass.yml.j2

@@ -9,7 +9,7 @@ metadata:
 {% endif %}
 {% endif %}
 provisioner: kubernetes.io/glusterfs
 provisioner: kubernetes.io/glusterfs
 parameters:
 parameters:
-  resturl: "http://{% if glusterfs_heketi_is_native %}heketi-{{ glusterfs_name }}.{{ glusterfs_namespace }}.svc.cluster.local:8080{% else %}{{ glusterfs_heketi_url }}:{{ glusterfs_heketi_port }}{% endif %}"
+  resturl: "http://{% if glusterfs_heketi_is_native %}heketi-{{ glusterfs_name }}.{{ glusterfs_namespace }}.svc:8080{% else %}{{ glusterfs_heketi_url }}:{{ glusterfs_heketi_port }}{% endif %}"
   restuser: "admin"
   restuser: "admin"
 {% if glusterfs_heketi_admin_key is defined %}
 {% if glusterfs_heketi_admin_key is defined %}
   secretNamespace: "{{ glusterfs_namespace }}"
   secretNamespace: "{{ glusterfs_namespace }}"