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

34825 add minio mc override capability #362

Open
wants to merge 2 commits 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
2 changes: 2 additions & 0 deletions charts/airbyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ Helm chart to deploy airbyte
| minio.affinity | object | `{}` | Affinity and anti-affinity for minio pod assignment, see https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity |
| minio.image.repository | string | `"minio/minio"` | Minio image used by Minio helm chart |
| minio.image.tag | string | `"RELEASE.2023-11-20T22-40-07Z"` | Minio tag image |
| minio.mc.image.repository | string | `"minio/mc"` | Minio Client image used by Minio helm chart |
| minio.mc.image.tag | string | `"latest"` | Minio Client tag image |
| minio.nodeSelector | object | `{}` | Node labels for pod assignment, see https://kubernetes.io/docs/user-guide/node-selection/ # |
| minio.storage.volumeClaimValue | string | `"500Mi"` | |
| minio.tolerations | list | `[]` | Tolerations for minio pod assignment, see https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ # |
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ spec:
fsGroup: 1000
containers:
- name: minio-mc
image: airbyte/mc
image: "{{ .Values.minio.mc.image.repository }}:{{ .Values.minio.mc.image.tag }}"
command: ["/bin/sh", "-c",
"until (/usr/bin/mc config host add myminio $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY) do echo '...waiting...' && sleep 1; done;
/usr/bin/mc mb --ignore-existing myminio/state-storage;
Expand Down
7 changes: 7 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,13 @@ minio:
repository: minio/minio
# -- Minio tag image
tag: RELEASE.2023-11-20T22-40-07Z

mc:
image:
# -- Minio Client image used by Minio helm chart
repository: minio/mc
# -- Minio Client tag image
tag: latest

storage:
volumeClaimValue: 500Mi
Expand Down
Loading