From 1c16bca2ec791d8a0cfdc736d7a08e7936cdaf19 Mon Sep 17 00:00:00 2001 From: Saif Ullah Date: Thu, 19 Dec 2024 16:34:33 +0500 Subject: [PATCH] fix: add a storage class name in airbyte helm charts for Min IO --- charts/airbyte/templates/minio.yaml | 3 +++ charts/airbyte/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/charts/airbyte/templates/minio.yaml b/charts/airbyte/templates/minio.yaml index 4c6bd8cbe3..e7c4f87a71 100644 --- a/charts/airbyte/templates/minio.yaml +++ b/charts/airbyte/templates/minio.yaml @@ -22,6 +22,9 @@ spec: resources: requests: storage: {{ .Values.minio.storage.volumeClaimValue }} + {{- if .Values.minio.storage.storageClass }} + storageClassName: {{ .Values.minio.storage.storageClass }} + {{- end }} template: metadata: labels: diff --git a/charts/airbyte/values.yaml b/charts/airbyte/values.yaml index 1f20859a51..89839fa362 100644 --- a/charts/airbyte/values.yaml +++ b/charts/airbyte/values.yaml @@ -1737,6 +1737,7 @@ minio: tag: latest storage: + storageClass: ~ # Add the storage class name here volumeClaimValue: 500Mi # -- Node labels for pod assignment, see https://kubernetes.io/docs/user-guide/node-selection/