fix(helm chart): fileimport should be deployed if s3 configmap is used (#1129)

Fixes bug where fileimport-service was not deployed if an s3 configmap was used, instead of defining
s3 endpoint etc. in helm chart values
This commit is contained in:
Iain Sproat
2022-10-19 16:43:12 +01:00
committed by GitHub
parent 1f4dd333c0
commit 07f7572c9d
3 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
{{- if .Values.s3.endpoint }}
{{- if ( or .Values.s3.endpoint .Values.s3.configMap.enabled ) }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -1,4 +1,4 @@
{{- if .Values.s3.endpoint -}}
{{- if ( or .Values.s3.endpoint .Values.s3.configMap.enabled ) -}}
apiVersion: v1
kind: Service
metadata:
@@ -1,4 +1,4 @@
{{- if .Values.fileimport_service.serviceAccount.create -}}
{{- if (and ( or .Values.s3.endpoint .Values.s3.configMap.enabled ) .Values.fileimport_service.serviceAccount.create) -}}
apiVersion: v1
kind: ServiceAccount
metadata: