Commit 5b32dca5 authored by Thomas Beermann's avatar Thomas Beermann
Browse files

adapt mongodb secrets

parent 7631ec31
Pipeline #91498 passed with stages
in 15 seconds
apiVersion: v1
name: hifiscp
version: 0.0.4
version: 0.0.5
description: A Helm chart to deploy the HIFIS Cloud Portal Backend and Frontend
keywords:
- HIFIS
......
......@@ -39,16 +39,15 @@ spec:
- name: MONGODB_AUTH_DB
value: {{ .Values.cerebrum.config.mongodb.authdb | quote }}
{{- end }}
{{- if .Values.cerebrum.config.mongodb.username }}
- name: MONGODB_USERNAME
valueFrom:
secretKeyRef:
name: {{ template "hifiscp.fullname" . }}-mongodb-credentials
key: username
value: {{ .Values.cerebrum.config.mongodb.username | quote }}
{{- end }}
- name: MONGODB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "hifiscp.fullname" . }}-mongodb-credentials
key: password
key: mongodb-password
{{- if .Values.cerebrum.config.oauth2.registeredUri }}
- name: OAUTH2_REGISTERED_URI
value: {{ .Values.cerebrum.config.mongodb.registeredUri | quote }}
......@@ -80,4 +79,4 @@ spec:
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}
\ No newline at end of file
{{- end }}
......@@ -19,8 +19,9 @@ cerebrum:
mongodb:
host: helmholtz-mongo-mongodb
port: 27017
database: admin
database: hifiscp
authdb: admin
username: hifiscp
oauth2:
registeredUri: ""
useCurrentUri: "false"
......@@ -79,4 +80,4 @@ ingress:
annotations: {}
hosts:
- hifis.cloud.portal
tls: []
\ No newline at end of file
tls: []
Markdown is supported
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