瀏覽代碼

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 %}
 provisioner: kubernetes.io/glusterfs
 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"
 {% if glusterfs_heketi_admin_key is defined %}
   secretNamespace: "{{ glusterfs_namespace }}"