From c16674aa9c62070eaa328810613ef5c6c76dcf77 Mon Sep 17 00:00:00 2001 From: ace Date: Sun, 23 Jul 2023 22:48:19 +0300 Subject: [PATCH] gitea: bump to v1.20.1 with helm chart v9.0.4 --- .../ghp/sample/group_vars/all/versions.yaml | 2 +- roles/gitea/defaults/main.yaml | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/inventory/ghp/sample/group_vars/all/versions.yaml b/inventory/ghp/sample/group_vars/all/versions.yaml index 15af96f..26d480c 100644 --- a/inventory/ghp/sample/group_vars/all/versions.yaml +++ b/inventory/ghp/sample/group_vars/all/versions.yaml @@ -44,7 +44,7 @@ bitwarden_version: 2.0.20 # Gitea gitea_ingress_nginx_version: 4.2.0 gitea_dns_version: 6.8.1 -gitea_version: 8.3.0 +gitea_version: 9.0.4 # Gitea Act Runner gitea_act_runner_version: 0.1.3 diff --git a/roles/gitea/defaults/main.yaml b/roles/gitea/defaults/main.yaml index c07db35..8dc738b 100644 --- a/roles/gitea/defaults/main.yaml +++ b/roles/gitea/defaults/main.yaml @@ -30,6 +30,12 @@ gitea_default_values: hosts: - "{{ gitea_short_name }}.{{ domain }}" + redis-cluster: + enabled: false + + postgresql-ha: + enabled: false + persistence: enabled: true accessModes: @@ -60,6 +66,12 @@ gitea_default_values: config: # APP_NAME: "Gitea: Git with a cup of tea" RUN_MODE: prod + session: + PROVIDER: "memory" + queue: + TYPE: "level" + cache: + ADAPTER: "memory" server: LFS_START_SERVER: true ROOT_URL: "https://{{ gitea_short_name}}.{{ domain }}" @@ -73,12 +85,11 @@ gitea_default_values: ALLOWED_HOST_LIST: "*" mailer: ENABLED: "true" - HOST: "{{ mail_short_name | default('mail') }}.{{ mail_domain | default(domain) }}:465" - IS_TLS_ENABLED: "true" + SMTP_ADDR: "{{ mail_short_name | default('mail') }}.{{ mail_domain | default(domain) }}" FROM: "gitea@{{ mail_domain | default(domain) }}" USER: "{{ gitea_ldap_user | default('gitea') }}" PASSWD: "{{ gitea_ldap_pass | default(gitea_ldap_password) }}" - MAILER_TYPE: "smtp" + PROTOCOL: "smtps" actions: ENABLED: "true" packages: