Skip to content

Instantly share code, notes, and snippets.

@sjenning
Last active October 11, 2021 00:35
Show Gist options
  • Save sjenning/0ca08afee714aa594479a97b79d72e37 to your computer and use it in GitHub Desktop.
Save sjenning/0ca08afee714aa594479a97b79d72e37 to your computer and use it in GitHub Desktop.
---
apiVersion: v1
kind: Secret
metadata:
name: heketi-secret
namespace: default
data:
key: YWRtaW5zZWNyZXQ=
type: kubernetes.io/glusterfs
---
apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
name: glusterfs
annotations:
storageclass.beta.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/glusterfs
parameters:
resturl: "http://gluster1.cloud.variantweb.net:8080"
restuser: "admin"
secretNamespace: "default"
secretName: "heketi-secret"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment