---
apiVersion: v1
kind: Template
metadata:
  name: heketi-sc
  annotations:
    descriptions: "Heketi Dynamic Volume Provisioning"
    tags: heketi
objects:
  - apiVersion: storage.k8s.io/v1beta1
    kind: StorageClass
    metadata:
      name: heketi
      annotations:
        storageclass.beta.kubernetes.io/is-default-class: "true" 
    provisioner: kubernetes.io/glusterfs
    parameters:
      resturl: "http://heketi.{{ openshift_master_default_subdomain }}" 
      restuser: "admin"
      secretName: "heketi" 
      secretNamespace: "default" 
