Commit 976018f8 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

manually mount DFN CA for availability checker

parent d35b086c
Pipeline #118294 passed with stages
in 17 seconds
apiVersion: v1
name: hifiscp
version: 0.1.4
version: 0.1.5
description: A Helm chart to deploy the HIFIS Cloud Portal Backend and Frontend
keywords:
- HIFIS
......
......@@ -14,10 +14,18 @@ spec:
spec:
template:
spec:
volumes:
- name: availability-cafile
secret:
secretName: {{ template "hifiscp.fullname" . }}-availability-cafile
containers:
- name: availibilty-checker
image: {{ .Values.cerebrum.availabilityChecker.image.repository }}:{{ .Values.cerebrum.availabilityChecker.image.tag }}
imagePullPolicy: {{ .Values.cerebrum.availabilityChecker.image.pullPolicy }}
volumeMounts:
- name: cafile
mountPath: /usr/local/share/ca-certificates
subPath: dfn.pem
env:
{{- if .Values.cerebrum.config.mongodb.database }}
- name: MONGODB_DATABASE
......@@ -71,5 +79,9 @@ spec:
secretKeyRef:
name: {{ template "hifiscp.fullname" . }}-es-credentials
key: es-password
- name: SSL_CERT_FILE
value: /usr/local/share/ca-certificates/dfn.pem
- name: REQUESTS_CA_BUNDLE
value: /usr/local/share/ca-certificates/dfn.pem
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