Update Gitea to 1.27.1

The webhooks allowed list was moved to the security part of the config
file

This is running on gitea-2
This commit is contained in:
2026-08-01 11:17:13 +02:00
parent 093a98b753
commit 1d4c415dd8
3 changed files with 6 additions and 8 deletions
@@ -1,5 +1,5 @@
node.default["gitea"]["version"] = "1.26.4"
node.default["gitea"]["checksum"] = "0faa36d151918f8f7d6e0f3ae67597d1c338583d695add146ac393109d0fc44a"
node.default["gitea"]["version"] = "1.27.1"
node.default["gitea"]["checksum"] = "86a7ac26e7f9c9cca0f56c4fac07fff205d5fc3bca0e54af23a204f07b833bc9"
node.default["gitea"]["repo"] = nil
node.default["gitea"]["revision"] = nil
node.default["gitea"]["working_directory"] = "/var/lib/gitea"
+1 -1
View File
@@ -4,7 +4,7 @@ maintainer_email 'ops@kosmos.org'
license 'MIT'
description 'Installs/configures Gitea'
long_description 'Installs/configures Gitea'
version '0.2.0'
version '0.2.1'
chef_version '>= 14.0'
depends "firewall"
@@ -62,6 +62,9 @@ FROM = <%= @email %>
INTERNAL_TOKEN = <%= @internal_token %>
INSTALL_LOCK = true
SECRET_KEY = <%= @secret_key %>
<% if c = @config["webhook"] %>
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>
<% end %>
[service]
REGISTER_EMAIL_CONFIRM = false
@@ -101,11 +104,6 @@ RUN_AT_START = false
NOTICE_ON_SUCCESS = false
SCHEDULE = @every 15m
<% if c = @config["webhook"] %>
[webhook]
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>
<% end %>
<% if c = @config["storage"] %>
[storage]
<% if c["type"] == "minio" %>