From 4cda51e07d83f9489b0dce036437605631c6cd52 Mon Sep 17 00:00:00 2001 From: devthejo Date: Sat, 16 Dec 2023 23:19:08 +0100 Subject: [PATCH] feat(modjo-microservice): minio --- charts/modjo-microservice/templates/rollout.yaml | 16 ++++++++++++++++ charts/modjo-microservice/values.yaml | 7 +++++++ 2 files changed, 23 insertions(+) diff --git a/charts/modjo-microservice/templates/rollout.yaml b/charts/modjo-microservice/templates/rollout.yaml index 1537345..fd2a12c 100644 --- a/charts/modjo-microservice/templates/rollout.yaml +++ b/charts/modjo-microservice/templates/rollout.yaml @@ -120,6 +120,22 @@ spec: name: {{ .Values.application.amqp.dsnSecretName }} key: {{ .Values.application.amqp.dsnSecretKey }} {{- end }} + {{- if .Values.application.minio.enabled }} + - name: MINIO_ENDPOINT + value: {{ .Values.application.minio.endpoint }} + - name: MINIO_PORT + value: {{ .Values.application.minio.port }} + - name: MINIO_ACCESS_KEY + valueFrom: + secretKeyRef: + name: {{ .Values.application.minio.secretName }} + key: {{ .Values.application.minio.accessKeySecretKey }} + - name: MINIO_SECRET_KEY + valueFrom: + secretKeyRef: + name: {{ .Values.application.minio.secretName }} + key: {{ .Values.application.minio.secretKeySecretKey }} + {{- end }} {{- if .Values.extraEnv }} {{ .Values.extraEnv | toYaml | nindent 12 }} {{- end }} diff --git a/charts/modjo-microservice/values.yaml b/charts/modjo-microservice/values.yaml index bdaecc9..df15b4e 100644 --- a/charts/modjo-microservice/values.yaml +++ b/charts/modjo-microservice/values.yaml @@ -25,6 +25,13 @@ application: webhookSecretKey: webhook-secret adminSecretName: hasura adminSecretKey: admin + minio: + enabled: false + secretName: minio + endpoint: minio + port: 9000 + accessKeySecretKey: access-key + secretKeySecretKey: secret-key jwt: enabled: false secretName: jwks