Skip to content

Commit

Permalink
dbildungs-iam-server
Browse files Browse the repository at this point in the history
  • Loading branch information
dbildungs-iam-server-gha committed Nov 29, 2024
1 parent 958771c commit 8d6318b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion automation/dbildungs-iam-server/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 20.3.0
digest: sha256:a42635c8459b26a7c01fd2cfeeba7cbb250bef345be41c70b8bfcd0025379057
generated: "2024-11-29T11:07:36.907351713Z"
generated: "2024-11-29T11:09:32.25504628Z"
2 changes: 1 addition & 1 deletion automation/dbildungs-iam-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dependencies:
description: dBildungs-IAM-server
name: dbildungs-iam-server
type: application
version: 0.0.0-spsh-1400-20241129-1107
version: 0.0.0-spsh-1400-20241129-1109
4 changes: 2 additions & 2 deletions automation/dbildungs-iam-server/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"BACKEND_FOR_FRONTEND_MODULE_LOG_LEVEL": "debug"
},
"ITSLEARNING": {
"ENABLED": "false",
"ENABLED": false,
"ENDPOINT": "https://itslearning.example.com",
"USERNAME": "username",
"PASSWORD": "password",
Expand All @@ -60,7 +60,7 @@
"ROOT_ERSATZ": "ersatz"
},
"OX": {
"ENABLED": "false",
"ENABLED": false,
"ENDPOINT": "https://ox_ip:ox_port/webservices/OXUserService",
"CONTEXT_ID": "1337",
"CONTEXT_NAME": "contextname",
Expand Down
31 changes: 16 additions & 15 deletions automation/dbildungs-iam-server/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: { { template "common.names.name" . } }
namespace: { { template "common.names.namespace" . } }
labels: { { - include "common.labels" . | nindent 4 } }
name: {{ template "common.names.name" . }}
namespace: {{ template "common.names.namespace" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
data:
config-json: |-
{{ .Files.Get "config/config.json" | nindent 4 }}
NODE_ENV: 'prod'
DEPLOY_STAGE: { { .Values.environment | quote } }
DB_NAME: { { .Values.database.name | quote } }
KC_BASE_URL: 'https://{{ .Values.keycloakHostname }}'
FRONTEND_OIDC_CALLBACK_URL: 'https://{{ .Values.backendHostname }}/api/auth/login'
FRONTEND_DEFAULT_LOGIN_REDIRECT: 'https://{{ .Values.backendHostname }}/'
FRONTEND_LOGOUT_REDIRECT: 'https://{{ .Values.backendHostname }}/'
BACKEND_HOSTNAME: '{{ .Values.backendHostname }}'
NODE_ENV: "prod"
DEPLOY_STAGE: {{ .Values.environment | quote }}
DB_NAME: {{ .Values.database.name | quote }}
KC_BASE_URL: "https://{{ .Values.keycloakHostname }}"
FRONTEND_OIDC_CALLBACK_URL: "https://{{ .Values.backendHostname }}/api/auth/login"
FRONTEND_DEFAULT_LOGIN_REDIRECT: "https://{{ .Values.backendHostname }}/"
FRONTEND_LOGOUT_REDIRECT: "https://{{ .Values.backendHostname }}/"
BACKEND_HOSTNAME: "{{ .Values.backendHostname }}"
LDAP_URL: '{{ .Values.ldap.url | replace "spsh-xxx" .Release.Namespace }}'
LDAP_BIND_DN: '{{ .Values.ldap.bindDN }}'
LDAP_OEFFENTLICHE_SCHULEN_DOMAIN: '{{ .Values.ldap.oeffentlicheSchulenDomain }}'
LDAP_ERSATZSCHULEN_DOMAIN: '{{ .Values.ldap.ersatzschulenDomain }}'
STATUS_REDIRECT_URL: '{{ .Values.status.url }}'
LDAP_BIND_DN: "{{ .Values.ldap.bindDN }}"
LDAP_OEFFENTLICHE_SCHULEN_DOMAIN: "{{ .Values.ldap.oeffentlicheSchulenDomain }}"
LDAP_ERSATZSCHULEN_DOMAIN: "{{ .Values.ldap.ersatzschulenDomain }}"
STATUS_REDIRECT_URL: "{{ .Values.status.url }}"
ITSLEARNING_ROOT: '{{ .Values.itslearning.root }}'
ITSLEARNING_ROOT_OEFFENTLICH: '{{ .Values.itslearning.rootOeffentlich }}'
ITSLEARNING_ROOT_ERSATZ: '{{ .Values.itslearning.rootErsatz }}'

0 comments on commit 8d6318b

Please sign in to comment.