From d11d48ae824bedca3246d37b1b441a87c8003691 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Fri, 18 Nov 2022 02:51:59 +0000 Subject: [PATCH] code: allow gitea push to create --- basic/apps/code/gitea-values-configmap.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/basic/apps/code/gitea-values-configmap.yaml b/basic/apps/code/gitea-values-configmap.yaml index 2ae67cb..f758d74 100644 --- a/basic/apps/code/gitea-values-configmap.yaml +++ b/basic/apps/code/gitea-values-configmap.yaml @@ -27,6 +27,11 @@ data: secret: "${client_secret}" autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration" config: + # https://docs.gitea.io/en-us/config-cheat-sheet + repository: + DEFAULT_PUSH_CREATE_PRIVATE: false + ENABLE_PUSH_CREATE_USER: true + ENABLE_PUSH_CREATE_ORG: true server: ROOT_URL: "https://code.${domain}" # START_SSH_SERVER: true