Skip to content

Commit 1c25dd7

Browse files
fradevelindhe
authored andcommitted
configmap: avoid duplication of INVENIO_SEARCH_HOSTS
1 parent 728173d commit 1c25dd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/invenio/templates/invenio-configmap.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ data:
1111
INVENIO_CELERY_RESULT_BACKEND: 'redis://{{ include "invenio.redis.hostname" . }}:6379/2'
1212
INVENIO_RATELIMIT_STORAGE_URL: 'redis://{{ include "invenio.redis.hostname" . }}:6379/3'
1313
INVENIO_COMMUNITIES_IDENTITIES_CACHE_REDIS_URL: 'redis://{{ include "invenio.redis.hostname" . }}:6379/4'
14+
{{- if not (hasKey .Values.invenio.extra_config "INVENIO_SEARCH_HOSTS") }}
1415
INVENIO_SEARCH_HOSTS: {{ printf "[{'host': '%s'}]" (include "invenio.opensearch.hostname" .) | quote }}
16+
{{- end }}
1517
INVENIO_SITE_HOSTNAME: '{{ include "invenio.hostname" $ }}'
1618
INVENIO_SITE_UI_URL: 'https://{{ include "invenio.hostname" $ }}'
1719
INVENIO_SITE_API_URL: 'https://{{ include "invenio.hostname" $ }}/api'

0 commit comments

Comments
 (0)