storageclass.yaml 934 B

12345678910111213141516171819202122
  1. {{- if and .Values.storage.storageClass.create .Values.storage.storageClass.name }}
  2. # Copyright Materialize, Inc. and contributors. All rights reserved.
  3. #
  4. # Use of this software is governed by the Business Source License
  5. # included in the LICENSE file at the root of this repository.
  6. #
  7. # As of the Change Date specified in that file, in accordance with
  8. # the Business Source License, use of this software will be governed
  9. # by the Apache License, Version 2.0.
  10. apiVersion: storage.k8s.io/v1
  11. kind: StorageClass
  12. metadata:
  13. name: {{ .Values.storage.storageClass.name }}
  14. allowVolumeExpansion: {{ .Values.storage.storageClass.allowVolumeExpansion }}
  15. provisioner: {{ .Values.storage.storageClass.provisioner }}
  16. parameters:
  17. {{- toYaml .Values.storage.storageClass.parameters | nindent 2 }}
  18. reclaimPolicy: {{ .Values.storage.storageClass.reclaimPolicy }}
  19. volumeBindingMode: {{ .Values.storage.storageClass.volumeBindingMode }}
  20. {{- end }}