From 38143592668a1f5eac9bedb41db7a5ec37e04e5c Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Mon, 2 Dec 2024 13:41:57 +0100 Subject: [PATCH] git oauth locked in --- infrastructure/argocd/kustomization.yaml | 2 +- infrastructure/gitea/gitea.values.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/infrastructure/argocd/kustomization.yaml b/infrastructure/argocd/kustomization.yaml index 6ba5b76..39d33db 100644 --- a/infrastructure/argocd/kustomization.yaml +++ b/infrastructure/argocd/kustomization.yaml @@ -4,7 +4,7 @@ kind: Kustomization namespace: argocd resources: - namespace.yaml - - https://raw.githubusercontent.com/argoproj/argo-cd/v2.12.6/manifests/install.yaml + - https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.1/manifests/install.yaml - ingress.yaml - argo-apps.application.yaml - bootstrap-repo.sealedsecret.yaml diff --git a/infrastructure/gitea/gitea.values.yaml b/infrastructure/gitea/gitea.values.yaml index d15c9cc..98f5dbc 100644 --- a/infrastructure/gitea/gitea.values.yaml +++ b/infrastructure/gitea/gitea.values.yaml @@ -99,6 +99,7 @@ gitea: email: "gitea@delete.me" metrics: + # service monitor is configured manually enabled: true ## @param gitea.config Configuration for the Gitea server,ref: [config-cheat-sheet](https://docs.gitea.io/en-us/config-cheat-sheet/) @@ -119,6 +120,10 @@ gitea: indexer: ISSUE_INDEXER_TYPE: bleve REPO_INDEXER_ENABLED: false + service: + DISABLE_REGISTRATION: true + oauth2_client: + ENABLE_AUTO_REGISTRATION: true oauth: - name: authelia @@ -130,6 +135,7 @@ gitea: required-claim-value: gitea group-claim-name: groups admin-group: apps_admin + # since we want to reuse the postgres secret, we cannot directly use it in