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 Jan 13, 2025
1 parent c113e01 commit 11362e0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 44 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-1132
appVersion: spsh-1705
description: dBildungs-IAM-server
name: dbildungs-iam-server
type: application
version: 0.0.0-dbp-1132-20250113-0828
version: 0.0.0-spsh-1705-20250113-0846
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,4 @@
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: vidis-keycloak-role
- name: METRICS_BASIC_AUTH
valueFrom:
secretKeyRef:
name: {{ default .Values.auth.existingSecret .Values.auth.secretName }}
key: auth
{{- end}}
34 changes: 0 additions & 34 deletions automation/dbildungs-iam-server/templates/backend-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,38 +30,4 @@ spec:
port:
number: {{ $.Values.backend.service.ports.http }}
{{- end }}
{{ end }}
---
{{if .Values.backend.ingress.healthenabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ template "common.names.name" . }}-health-backend
namespace: {{ template "common.names.namespace" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /health
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: {{ .Values.auth.secretName }}
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - user'
{{- with .Values.backend.ingress.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
tls:
- hosts:
- {{ .Values.backendHostname }}
ingressClassName: {{ .Values.backend.ingress.ingressClassName }}
rules:
- host: {{ .Values.backendHostname }}
http:
paths:
- path: /api/health
pathType: Prefix
backend:
service:
name: {{ template "common.names.name" $ }}-backend
port:
number: {{ $.Values.backend.service.ports.http }}
{{ end }}
1 change: 0 additions & 1 deletion automation/dbildungs-iam-server/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ data:
import-passphrase-secret: {{ .Values.auth.import_passphrase_secret }}
import-passphrase-salt: {{ .Values.auth.import_passphrase_salt }}
ox-password: {{ .Values.auth.ox_password }}
auth: {{ .Values.auth.basic_auth_password }}
{{- end }}
2 changes: 0 additions & 2 deletions automation/dbildungs-iam-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ auth:
import_passphrase_secret: ''
import_passphrase_salt: ''
ox_password: ''
basic_auth_password: ''

ox:
enabled: false
Expand Down Expand Up @@ -122,7 +121,6 @@ backend:
# Only enable if 2nd host name is defined
enabled2nd: false
enabled: true
healthenabled: true
ingressClassName: nginx
pathType: Prefix
portnumber: 80
Expand Down

0 comments on commit 11362e0

Please sign in to comment.