29 lines
746 B
YAML
29 lines
746 B
YAML
# Storage class to provide fast storage devices.
|
|
# Used for metadata and data devices in Quobyte.
|
|
# Possible types/ parameter names depend on chosen
|
|
# storage provisioner.
|
|
|
|
|
|
# Azure AKS uses "storageaccounttype" instead of "type".
|
|
{{ if eq .Values.quobyte.storageProvisioner "kubernetes.io/azure-disk" }}
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: faster
|
|
provisioner: {{ .Values.quobyte.storageProvisioner }}
|
|
parameters:
|
|
storageaccounttype: {{ .Values.quobyte.flashStorage }}
|
|
|
|
# Other cloud provider use "type".
|
|
{{ else }}
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: faster
|
|
provisioner: {{ .Values.quobyte.storageProvisioner }}
|
|
parameters:
|
|
type: {{ .Values.quobyte.flashStorage }}
|
|
{{- end }}
|
|
|
|
|