K8s: update chart for local minio + mongo default (#301)

* k8s chart fixes:
mongo: pin to 5.0.11 version for now
minio: create empty dir for local storage for now instead of using mc, use 'btrix-data' as bucket name
This commit is contained in:
Ilya Kreymer 2022-09-02 13:07:47 -07:00 committed by GitHub
parent f0c079dc1b
commit 1216f6cb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -50,17 +50,16 @@ spec:
initContainers:
- name: init-bucket
image: {{ .Values.minio_mc_image }}
image: {{ .Values.minio_image }}
imagePullPolicy: {{ .Values.minio_pull_policy }}
env:
- name: MC_HOST_local
valueFrom:
secretKeyRef:
name: auth-secrets
key: MC_HOST
command: ['/bin/sh']
args: ['-c', 'mc mb --ignore-existing local/{{ .Values.minio_local_bucket_name }}' ]
args: ["mkdir", "-p", "/data/{{ .Values.minio_local_bucket_name }}" ]
volumeMounts:
- name: data-minio
mountPath: /data
subPath: minio
containers:
- name: minio

View File

@ -66,7 +66,7 @@ mongo_local: true
mongo_host: "local-mongo.default"
mongo_image: "mongo"
mongo_image: "docker.io/library/mongo:5.0.11"
mongo_pull_policy: "IfNotPresent"
mongo_requests_cpu: "12m"
@ -140,7 +140,7 @@ minio_image: minio/minio
minio_mc_image: minio/mc
minio_pull_policy: "IfNotPresent"
minio_local_bucket_name: &local_bucket_name "test-bucket"
minio_local_bucket_name: &local_bucket_name "btrix-data"
# Storage