-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added health and api prefix * Added BFF * Moved security into backend. Fronted should not depend on KC * Reordered the dependencies * Fixed a dependency problem * Made database work for Health-Check * Changed defaults to make them less dangerous * Moved Health-Module into modules * Renamed BFF-Module to backend-for-frontend * Health module reference broke
- Loading branch information
1 parent
4785f52
commit 309b2b9
Showing
20 changed files
with
3,848 additions
and
9,548 deletions.
There are no files selected for viewing
2,220 changes: 2,220 additions & 0 deletions
2,220
charts/dbildungs-iam/charts/dbildungs-iam-keycloak-dev/dev-realm-spsh.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...iam/charts/dbildungs-iam-keycloak-dev/templates/dbildungs-iam-keycloak-config-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: realm-config-secret | ||
type: opaque | ||
data: | ||
realm-spsh.json: |- | ||
{{.Files.Get "dev-realm-spsh.json" | b64enc}} |
3 changes: 2 additions & 1 deletion
3
charts/dbildungs-iam/charts/dbildungs-iam-keycloak-dev/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
keycloakHostname: "keycloak.dev.spsh.dbildungsplattform.de" | ||
keycloakHostname: "keycloak.dev.spsh.dbildungsplattform.de" | ||
keycloakPublic: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
charts/dbildungs-iam/templates/dbildungs-iam-deployment-bff.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: dbiam-deployment-bff | ||
labels: | ||
app.kubernetes.io/name: dbildungs-iam | ||
spec: | ||
selector: | ||
matchLabels: | ||
layer: dbildungs-iam-bff | ||
replicas: {{.Values.dbildungsIamReplications}} | ||
template: | ||
metadata: | ||
name: dbildungs-iam | ||
labels: | ||
layer: dbildungs-iam-bff | ||
spec: | ||
containers: | ||
- name: dbildungs-iam-bff | ||
image: {{.Values.dbildungsIamContainer}} | ||
imagePullPolicy: Always | ||
command: ["node", "dist/src/backend-for-frontend/main.js"] | ||
ports: | ||
- name: web | ||
containerPort: 8080 | ||
env: | ||
- name: NODE_ENV | ||
value: {{.Values.environment}} | ||
- name: DEPLOY_STAGE | ||
value: {{.Values.environment}} | ||
volumeMounts: | ||
- mountPath: /app/config/ | ||
name: config | ||
readOnly: true | ||
resources: | ||
limits: | ||
cpu: {{.Values.dbildungsIamCpuMax}} | ||
memory: {{.Values.dbildungsIamMemMax}} | ||
livenessProbe: | ||
initialDelaySeconds: 10 | ||
httpGet: | ||
port: 8080 | ||
scheme: 'HTTP' | ||
path: '/health' | ||
readinessProbe: | ||
initialDelaySeconds: 10 | ||
httpGet: | ||
port: 8080 | ||
scheme: 'HTTP' | ||
path: '/health' | ||
restartPolicy: Always | ||
volumes: | ||
- name: config | ||
secret: | ||
secretName: {{.Values.secrets.name | default (print .Release.Name "-secret")}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-iam/templates/dbildungs-iam-service.yaml → ...plates/dbildungs-iam-service-backend.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
charts/dbildungs-iam/templates/dbildungs-iam-service-bff.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: dbiam-bff | ||
labels: | ||
app.kubernetes.io/name: dbildungs-iam | ||
spec: | ||
selector: | ||
layer: dbildungs-iam-bff | ||
ports: | ||
- protocol: TCP | ||
name: web | ||
port: {{.Values.dbildungsIamExternalPort}} | ||
targetPort: web | ||
type: ClusterIP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.