From 2c48251cef16e3f9a50599d9b1d5d397fd7d8058 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 17 Nov 2021 22:12:07 +0700 Subject: [PATCH] feat(platform): install Dex with Gitea connector --- platform/dex/Chart.yaml | 7 +++++++ platform/dex/values.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 platform/dex/Chart.yaml create mode 100644 platform/dex/values.yaml diff --git a/platform/dex/Chart.yaml b/platform/dex/Chart.yaml new file mode 100644 index 00000000..34c382e2 --- /dev/null +++ b/platform/dex/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: dex +version: 0.0.0 +dependencies: +- name: dex + version: 0.6.3 + repository: https://charts.dexidp.io diff --git a/platform/dex/values.yaml b/platform/dex/values.yaml new file mode 100644 index 00000000..f0f3b3dd --- /dev/null +++ b/platform/dex/values.yaml @@ -0,0 +1,24 @@ +dex: + ingress: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer" + hosts: + - host: dex.khuedoan.com + paths: + - path: / + pathType: ImplementationSpecific + tls: + - secretName: dex-tls-certificate + hosts: + - dex.khuedoan.com + config: + connectors: + - type: gitea + id: gitea + name: Gitea + config: + clientID: $GITEA_CLIENT_ID + clientSecret: $GITEA_CLIENT_SECRET + redirectURI: https://127.0.0.1:5556/dex/callback + baseURL: https://git.khuedoan.com