chore(helmchart): added ASSETS_ORIGIN to sink helm chart

This commit is contained in:
Alexander Zavorotynskiy 2022-05-24 13:21:38 +02:00
parent c6f54f18aa
commit 8647beb538

View file

@ -46,6 +46,15 @@ spec:
value: '{{ .Values.global.kafka.kafkaHost }}:{{ .Values.global.kafka.kafkaPort }}'
- name: KAFKA_USE_SSL
value: '{{ .Values.global.kafka.kafkaUseSsl }}'
# We need to check what is the object store endpoint.
# There can be 4 options
# 1. Using minio inside kube clster
# 2. Using minio managed external cluster, like aws minio offering
# 3. Using GCP or other object stores compatible with s3 apis
# 4. Using AWS itself.
# AWS uses bucketname.endpoint/object while others use endpoint/bucketname/object
- name: ASSETS_ORIGIN
{{ - if eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000" }}
{{- range $key, $val := .Values.env }}
- name: {{ $key }}
value: '{{ $val }}'