diff --git a/templates/api-deployment.yaml b/templates/api-deployment.yaml index a672448..0265531 100644 --- a/templates/api-deployment.yaml +++ b/templates/api-deployment.yaml @@ -157,10 +157,10 @@ spec: {{ if or .Values.global.s3.enabled .Values.minio.enabled }} - name: LAGO_USE_AWS_S3 value: "true" - {{ if .Values.minio.enabled }} + {{- if .Values.minio.enabled }} - name: LAGO_AWS_S3_PATH_STYLE value: "true" - {{ end }} + {{- end }} {{ if or .Values.global.s3.endpoint .Values.minio.endpoint }} - name: LAGO_AWS_S3_ENDPOINT value: {{ if .Values.minio.enabled }} diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 790133d..770c197 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -15,6 +15,7 @@ spec: - hosts: - {{ .Values.global.ingress.frontHostname }} - {{ .Values.global.ingress.apiHostname }} + - {{ .Values.global.ingress.minioHostname }} secretName: {{ .Release.Name }}-ingress-secret rules: - host: {{ .Values.global.ingress.frontHostname }} @@ -35,4 +36,14 @@ spec: name: {{ .Release.Name }}-api-svc port: number: {{ .Values.api.service.port }} + - host: {{ .Values.global.ingress.minioHostname }} + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + service: + name: {{ .Values.minio.service.name }} + port: + number: {{ .Values.minio.service.port }} {{ end }}