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 Dec 20, 2024
1 parent 34c58f3 commit 5bea236
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 8 deletions.
4 changes: 2 additions & 2 deletions automation/dbildungs-iam-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: DBP-1204
appVersion: sha-ed39bc5
description: dBildungs-IAM-server
name: dbildungs-iam-server
type: application
version: 0.0.0-dbp-1204-20241220-1709
version: 0.0.1-20241220-1739
8 changes: 8 additions & 0 deletions automation/dbildungs-iam-server/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
"PASSWORD": "",
"USE_TLS": false
},

"LDAP": {
"URL": "ldap://spsh-xxx.svc.cluster.local",
"BIND_DN": "cn=admin,dc=schule-sh,dc=de",
"ADMIN_PASSWORD": "password",
"BASE_DN": "dc=schule-sh,dc=de"
},

"DATA": {
"ROOT_ORGANISATION_ID": "d39cb7cf-2f9b-45f1-849f-973661f2f057"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,34 @@
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: ox-password
- name: VIDIS_BASE_URL
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-base-url
- name: VIDIS_USERNAME
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-username
- name: VIDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-password
- name: VIDIS_REGION_NAME
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-region-name
- name: VIDIS_KEYCLOAK_GROUP
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-keycloak-group
- name: VIDIS_KEYCLOAK_ROLE
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-keycloak-role
{{- end}}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.backend.replicaCount }}
{{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 50%
maxSurge: 50%
selector:
matchLabels:
app.kubernetes.io/name: {{ template "common.names.name" . }}
Expand Down
8 changes: 7 additions & 1 deletion automation/dbildungs-iam-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ldap:
bindDN: cn=admin,dc=schule-sh,dc=de
oeffentlicheSchulenDomain: schule-sh.de
ersatzschulenDomain: ersatzschule-sh.de
base_dn: dc=schule-sh,dc=de

itslearning:
root: sh
Expand Down Expand Up @@ -165,7 +166,7 @@ autoscaling:

podDisruptionBudget:
enabled: true
minAvailable: "60%"
minAvailable: "80%"

status:
url: 'https://status.dev.spsh.dbildungsplattform.de/'
Expand Down Expand Up @@ -203,6 +204,11 @@ cronjobs:
endpoint: '/api/cron/unlock'
httpMethod: 'PUT'
script: 'cron_trigger.sh'
cron-trigger-5:
schedule: 30 0 * * *
endpoint: '/api/cron/vidis-angebote'
httpMethod: 'PUT'
script: 'cron_trigger.sh'

import:
csvFileMaxSizeInMB: 10
Expand Down

0 comments on commit 5bea236

Please sign in to comment.