gitea: add the gitea token secrets engine (mount, config, teabot roles) #101

Merged
benvin merged 2 commits from benvin/gitea-secret-engine into master 2026-07-27 23:42:13 +10:00
Showing only changes of commit 13c1f5c1ba - Show all commits
@@ -20,4 +20,15 @@ resource "gitea_secret_backend" "this" {
ca_cert = var.ca_cert ca_cert = var.ca_cert
tls_skip_verify = var.tls_skip_verify tls_skip_verify = var.tls_skip_verify
request_timeout_seconds = var.request_timeout_seconds request_timeout_seconds = var.request_timeout_seconds
lifecycle {
# The KV seed is a bootstrap credential: it is consumed only when the engine
# config is first created. After creation the live admin password is rotated
# in place (vault write -f gitea/config/rotate-root) and diverges from the
# seed, so re-reading the (possibly stale) KV value must never push it back.
# Ignoring the credential attributes makes this module create-only for them.
# (The sibling rancher/litellm seed modules do not yet do this and would
# re-push their seed on a subsequent apply.)
ignore_changes = [admin_username, admin_password]
}
} }