migate bytestash

This commit is contained in:
Morten Olsen
2026-01-02 13:59:58 +01:00
parent 0205a58d2e
commit 4aff162d1a
2 changed files with 10 additions and 15 deletions

View File

@@ -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

View File

@@ -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