Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add storageclassname to helm chart #377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 500Mi
storage: {{ .Values.postgresql.storage.volumeClaimValue }}
{{- with .Values.postgresql.storage.storageClassName }}
storageClassName: {{ . }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/airbyte/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
resources:
requests:
storage: {{ .Values.minio.storage.volumeClaimValue }}
{{- with .Values.minio.storage.storageClassName }}
storageClassName: {{ . }}
{{- end }}
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,9 @@ postgresql:
# -- Affinity and anti-affinity for postgresql pod assignment, see
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
storage:
volumeClaimValue: 500Mi
storageClassName: ""

# External PostgreSQL configuration, All of these values are only used when postgresql.enabled is set to false
externalDatabase:
Expand Down Expand Up @@ -1738,6 +1741,7 @@ minio:

storage:
volumeClaimValue: 500Mi
storageClassName: ""

# -- Node labels for pod assignment, see https://kubernetes.io/docs/user-guide/node-selection/
##
Expand Down
5 changes: 4 additions & 1 deletion charts/v2/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 500Mi
storage: {{ .Values.postgresql.storage.volumeClaimValue }}
{{- with .Values.postgresql.storage.storageClassName }}
storageClassName: {{ . }}
{{- end }}
{{- end }}
5 changes: 4 additions & 1 deletion charts/v2/airbyte/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: {{ .Values.minio.storage.volumeClaimValue }}
storage: {{ .Values.minio.storage.volumeClaimValue }}
{{- with .Values.minio.storage.storageClassName }}
storageClassName: {{ . }}
{{- end }}
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions charts/v2/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2024,6 +2024,9 @@ postgresql:
# -- Affinity and anti-affinity for postgresql pod assignment, see
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
storage:
volumeClaimValue: 500Mi
storageClassName: ""

minio:
secretName: ""
Expand All @@ -2043,6 +2046,7 @@ minio:

storage:
volumeClaimValue: 500Mi
storageClassName: ""

# -- Node labels for pod assignment, see https://kubernetes.io/docs/user-guide/node-selection/
##
Expand Down
Loading