Commit 6cdc5ffa authored by Thomas Beermann's avatar Thomas Beermann
Browse files

add options to write service availability to ES

parent 21726ed2
Pipeline #111820 passed with stages
in 9 seconds
apiVersion: v1
name: hifiscp
version: 0.1.2
version: 0.1.3
description: A Helm chart to deploy the HIFIS Cloud Portal Backend and Frontend
keywords:
- HIFIS
......
......@@ -44,6 +44,32 @@ spec:
secretKeyRef:
name: {{ template "hifiscp.fullname" . }}-mongodb-credentials
key: mongodb-password
{{- if .Values.cerebrum.config.availabilityChecker.esHost }}
- name: ES_HOST
value: {{ .Values.cerebrum.config.availabilityChecker.esHost | quote }}
{{- end }}
{{- if .Values.cerebrum.config.availabilityChecker.esPort }}
- name: ES_PORT
value: {{ .Values.cerebrum.config.availabilityChecker.esPort | quote }}
{{- end }}
{{- if .Values.cerebrum.config.availabilityChecker.esIndexpattern }}
- name: ES_INDEXPATTERN
value: {{ .Values.cerebrum.config.availabilityChecker.esIndexpattern | quote }}
{{- end }}
{{- if .Values.cerebrum.config.availabilityChecker.esUseSsl }}
- name: ES_USE_SSL
value: {{ .Values.cerebrum.config.availabilityChecker.esUseSsl | quote }}
{{- end }}
- name: ES_RELEASE
value: {{ .Release.Name }}
{{- if .Values.cerebrum.config.availabilityChecker.username }}
- name: ES_USERNAME
value: {{ .Values.cerebrum.config.availabilityChecker.username | quote }}
{{- end }}
- name: ES_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "hifiscp.fullname" . }}-es-credentials
key: es-password
restartPolicy: OnFailure
{{ end }}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment