summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/templates/heketi/heketi-sc.yml.j2
blob: 23ce6ce118892d71e7404f2f6dacec5b408c1225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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"