gluster-s3-storageclass.yml.j2 414 B

12345678910111213
  1. ---
  2. apiVersion: storage.k8s.io/v1
  3. kind: StorageClass
  4. metadata:
  5. name: glusterfs-{{ glusterfs_name }}-s3
  6. provisioner: kubernetes.io/glusterfs
  7. parameters:
  8. resturl: "http://{{ glusterfs_heketi_url }}:{{ glusterfs_heketi_port }}"
  9. restuser: "admin"
  10. {% if glusterfs_heketi_admin_key is defined %}
  11. secretNamespace: "{{ glusterfs_namespace }}"
  12. secretName: "heketi-{{ glusterfs_name }}-admin-secret"
  13. {%- endif -%}