2026-07-12 16:01:53 +02:00
|
|
|
# Least-privilege read policy for the Forgejo operator/admin API token (PAT).
|
|
|
|
|
#
|
|
|
|
|
# Grants read access to the site-admin PAT used by workstation and activity-core
|
|
|
|
|
# automation (package prune, org webhooks, operator bootstrap). Sibling to
|
2026-07-21 23:19:10 +02:00
|
|
|
# forgejo-mailer (SMTP).
|
|
|
|
|
#
|
|
|
|
|
# Cluster delivery (ACTIVITY-WP-0023-T05): attached to the
|
|
|
|
|
# openbao-activity-core ESO token so ExternalSecret actcore-forgejo-admin can
|
|
|
|
|
# merge FORGEJO_TOKEN into actcore-runtime-secret.
|
2026-07-12 16:01:53 +02:00
|
|
|
|
|
|
|
|
path "platform/data/workloads/forgejo/forgejo-admin" {
|
|
|
|
|
capabilities = ["read"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
path "platform/metadata/workloads/forgejo/forgejo-admin" {
|
|
|
|
|
capabilities = ["read"]
|
|
|
|
|
}
|