mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
migate bytestash
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
apiVersion: homelab.mortenolsen.pro/v1
|
||||
kind: OidcClient
|
||||
metadata:
|
||||
name: '{{ .Release.Name }}'
|
||||
spec:
|
||||
environment: '{{ .Values.globals.environment }}'
|
||||
redirectUris:
|
||||
- path: /api/auth/oidc/callback
|
||||
subdomain: '{{ .Values.subdomain }}'
|
||||
matchingMode: strict
|
||||
@@ -12,9 +12,13 @@ deployment:
|
||||
|
||||
# Container configuration
|
||||
container:
|
||||
ports:
|
||||
- name: http
|
||||
port: 5000
|
||||
protocol: TCP
|
||||
healthProbe:
|
||||
type: tcpSocket
|
||||
port: http
|
||||
|
||||
# Service configuration
|
||||
service:
|
||||
@@ -44,6 +48,7 @@ oidc:
|
||||
enabled: true
|
||||
redirectUris:
|
||||
- "/api/auth/oidc/callback"
|
||||
subjectMode: user_username
|
||||
|
||||
# Environment variables
|
||||
env:
|
||||
@@ -54,15 +59,15 @@ env:
|
||||
OIDC_CLIENT_ID:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{release}-client"
|
||||
name: "{release}-oidc-credentials"
|
||||
key: clientId
|
||||
OIDC_CLIENT_SECRET:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{release}-client"
|
||||
name: "{release}-oidc-credentials"
|
||||
key: clientSecret
|
||||
OIDC_ISSUER_URL:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{release}-client"
|
||||
key: configurationIssuer
|
||||
name: "{release}-oidc-credentials"
|
||||
key: issuer
|
||||
|
||||
Reference in New Issue
Block a user