Support proxy domain validation for Garage web domains

Also rename the data bag item
This commit is contained in:
2024-04-30 12:23:36 +02:00
parent 4cbda69a6b
commit 989185f951
6 changed files with 34 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ file "/etc/letsencrypt/renewal-hooks/post/ejabberd" do
group "root"
end
gandi_api_credentials = data_bag_item('credentials', 'gandi_api_5apps')
gandi_api_credentials = data_bag_item('credentials', 'gandi_api')
template "/root/gandi_dns_certbot_hook.sh" do
variables access_token: gandi_api_credentials["access_token"]