mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-25 22:18:53 +07:00
feat(dex): add Gitea SSO client
This commit is contained in:
parent
6ebedfbe8c
commit
86221b920c
@ -24,3 +24,7 @@ spec:
|
||||
remoteRef:
|
||||
key: dex.grafana
|
||||
property: client_secret
|
||||
- secretKey: GITEA_CLIENT_SECRET
|
||||
remoteRef:
|
||||
key: dex.gitea
|
||||
property: client_secret
|
||||
|
@ -29,6 +29,11 @@ dex:
|
||||
redirectURIs:
|
||||
- 'https://grafana.khuedoan.com/login/generic_oauth'
|
||||
secretEnv: GRAFANA_SSO_CLIENT_SECRET
|
||||
- id: gitea
|
||||
name: Gitea
|
||||
redirectURIs:
|
||||
- 'https://git.khuedoan.com/user/oauth2/Dex/callback'
|
||||
secretEnv: GITEA_CLIENT_SECRET
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: dex-secrets
|
||||
|
@ -11,6 +11,11 @@
|
||||
- key: client_secret
|
||||
length: 32
|
||||
special: false
|
||||
- name: dex.gitea
|
||||
data:
|
||||
- key: client_secret
|
||||
length: 32
|
||||
special: false
|
||||
|
||||
# Registry
|
||||
- name: registry.admin
|
||||
|
Loading…
Reference in New Issue
Block a user