diff --git a/platform/dex/templates/secret.yaml b/platform/dex/templates/secret.yaml index 87da37ab..67f574cf 100644 --- a/platform/dex/templates/secret.yaml +++ b/platform/dex/templates/secret.yaml @@ -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 diff --git a/platform/dex/values.yaml b/platform/dex/values.yaml index ebe266e1..509cbb23 100644 --- a/platform/dex/values.yaml +++ b/platform/dex/values.yaml @@ -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 diff --git a/scripts/hacks b/scripts/hacks index c8657c44..41f6c57a 100755 --- a/scripts/hacks +++ b/scripts/hacks @@ -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 = [