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 configuration
|
||||||
container:
|
container:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
port: 5000
|
port: 5000
|
||||||
|
protocol: TCP
|
||||||
healthProbe:
|
healthProbe:
|
||||||
type: tcpSocket
|
type: tcpSocket
|
||||||
|
port: http
|
||||||
|
|
||||||
# Service configuration
|
# Service configuration
|
||||||
service:
|
service:
|
||||||
@@ -44,6 +48,7 @@ oidc:
|
|||||||
enabled: true
|
enabled: true
|
||||||
redirectUris:
|
redirectUris:
|
||||||
- "/api/auth/oidc/callback"
|
- "/api/auth/oidc/callback"
|
||||||
|
subjectMode: user_username
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
env:
|
env:
|
||||||
@@ -54,15 +59,15 @@ env:
|
|||||||
OIDC_CLIENT_ID:
|
OIDC_CLIENT_ID:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{release}-client"
|
name: "{release}-oidc-credentials"
|
||||||
key: clientId
|
key: clientId
|
||||||
OIDC_CLIENT_SECRET:
|
OIDC_CLIENT_SECRET:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{release}-client"
|
name: "{release}-oidc-credentials"
|
||||||
key: clientSecret
|
key: clientSecret
|
||||||
OIDC_ISSUER_URL:
|
OIDC_ISSUER_URL:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{release}-client"
|
name: "{release}-oidc-credentials"
|
||||||
key: configurationIssuer
|
key: issuer
|
||||||
|
|||||||
Reference in New Issue
Block a user