refactor(dex): remove Gitea connector

Use Kanidm instead.
This commit is contained in:
Khue Doan 2024-01-06 02:13:14 +07:00
parent 09ce3e64fc
commit 4673f91558
3 changed files with 0 additions and 17 deletions

View File

@ -11,14 +11,6 @@ spec:
name: dex-secrets
data:
# Connectors
- secretKey: GITEA_CLIENT_ID
remoteRef:
key: gitea.dex
property: client_id
- secretKey: GITEA_CLIENT_SECRET
remoteRef:
key: gitea.dex
property: client_secret
- secretKey: KANIDM_CLIENT_ID
remoteRef:
key: kanidm.dex

View File

@ -8,14 +8,6 @@ dex:
oauth2:
skipApprovalScreen: true
connectors:
- type: gitea
id: gitea
name: Gitea
config:
clientID: $GITEA_CLIENT_ID
clientSecret: $GITEA_CLIENT_SECRET
redirectURI: https://dex.khuedoan.com/callback
baseURL: https://git.khuedoan.com
- type: oidc
id: kanidm
name: Kanidm

View File

@ -181,7 +181,6 @@ def main() -> None:
]
gitea_oauth_apps = [
{'name': 'dex', 'redirect_uri': f"https://{client.NetworkingV1Api().read_namespaced_ingress('dex', 'dex').spec.rules[0].host}/callback"}
]
kanidm_groups = [