mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
fix: metamcp oidc
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
apiVersion: homelab.mortenolsen.pro/v1
|
apiVersion: homelab.mortenolsen.pro/v1
|
||||||
kind: OidcClient
|
kind: OidcClient
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ .Release.Name }}'
|
name: "{{ .Release.Name }}"
|
||||||
spec:
|
spec:
|
||||||
environment: '{{ .Values.globals.environment }}'
|
environment: "{{ .Values.globals.environment }}"
|
||||||
redirectUris:
|
redirectUris:
|
||||||
- path: /api/auth/oidc/callback
|
- path: api/auth/oauth2/callback/oidc
|
||||||
subdomain: '{{ .Values.subdomain }}'
|
subdomain: "{{ .Values.subdomain }}"
|
||||||
matchingMode: strict
|
matchingMode: strict
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ spec:
|
|||||||
value: "https://{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
value: "https://{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
||||||
- name: NEXT_PUBLIC_APP_URL
|
- name: NEXT_PUBLIC_APP_URL
|
||||||
value: "https://{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
value: "https://{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
||||||
|
- name: BETTER_AUTH_URL
|
||||||
|
value: "https://{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
||||||
- name: BETTER_AUTH_SECRET
|
- name: BETTER_AUTH_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
@@ -73,8 +75,6 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{{ .Release.Name }}-pg-connection"
|
name: "{{ .Release.Name }}-pg-connection"
|
||||||
key: password
|
key: password
|
||||||
- name: OIDC_PROVIDER_ID
|
|
||||||
value: oidc
|
|
||||||
- name: OIDC_SCOPES
|
- name: OIDC_SCOPES
|
||||||
value: openid email profile
|
value: openid email profile
|
||||||
- name: OIDC_PKCE
|
- name: OIDC_PKCE
|
||||||
@@ -94,6 +94,8 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{{ .Release.Name }}-client"
|
name: "{{ .Release.Name }}-client"
|
||||||
key: configuration
|
key: configuration
|
||||||
|
- name: OIDC_AUTHORIZATION_URL
|
||||||
|
value: "https://authentik.{{ .Values.globals.domain }}/application/o/authorize/"
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user