feat(dex): add Gitea SSO client

This commit is contained in:
Khue Doan 2024-01-17 00:08:28 +07:00
parent 6ebedfbe8c
commit 86221b920c
3 changed files with 14 additions and 0 deletions

View File

@ -24,3 +24,7 @@ spec:
remoteRef:
key: dex.grafana
property: client_secret
- secretKey: GITEA_CLIENT_SECRET
remoteRef:
key: dex.gitea
property: client_secret

View File

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

View File

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