diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-07-11 15:54:42 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-07-14 10:37:29 -0500 |
commit | 0624a1f36583c832b5b2e0c791a6926e56053e3e (patch) | |
tree | a47f3d15978431a9c3c56022e4f0eb83a8c5e5eb /roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 | |
parent | af667a6cf3befcaf0e6b02f26dbe4106decdafb1 (diff) | |
download | openshift-0624a1f36583c832b5b2e0c791a6926e56053e3e.tar.gz openshift-0624a1f36583c832b5b2e0c791a6926e56053e3e.tar.bz2 openshift-0624a1f36583c832b5b2e0c791a6926e56053e3e.tar.xz openshift-0624a1f36583c832b5b2e0c791a6926e56053e3e.zip |
GlusterFS: Bug fixes for external GlusterFS nodes
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 b/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 index 2ec9a9e9a..095fb780f 100644 --- a/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 +++ b/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-storageclass.yml.j2 @@ -7,5 +7,7 @@ provisioner: kubernetes.io/glusterfs parameters: resturl: "http://{% if glusterfs_heketi_is_native %}{{ glusterfs_heketi_route }}{% else %}{{ glusterfs_heketi_url }}:{{ glusterfs_heketi_port }}{% endif %}" restuser: "admin" +{% if glusterfs_heketi_admin_key is defined %} secretNamespace: "{{ glusterfs_namespace }}" secretName: "heketi-{{ glusterfs_name }}-admin-secret" +{%- endif -%} |