# Gitea Actions runner registration token (WS-GITOSS, Phase 6). SOPS-encrypted (age). # The in-cluster act_runner (ns gitea-actions) uses this INSTANCE-level registration # token (from POST /api/v1/admin/actions/runners/registration-token) to register once # against Gitea. Flux decrypts it via the sops-age key at reconcile (apps Kustomization # decryption is wired in clusters/dev/kustomization.yaml). Rotate by resetting the token # in Gitea (admin -> actions -> runners) and re-encrypting a fresh value here. # ROTATE: ./infra/gitea/runner-token-rotate.sh -- it mints a fresh instance-level token from the # Gitea API and writes it here via `sops set`, without the value ever being printed. # Do NOT `sops -d` this file into a terminal, a log, or an agent transcript. To check only that # it still decrypts, redirect: `sops -d > /dev/null`. # NOTE: a fresh token alone may not re-register the runner. act_runner registers ONCE and keeps # its identity in /data/.runner on the act-runner-data PVC; if Gitea no longer holds a matching # row it skips registration silently. Clearing that PVC is what forces a real re-registration. apiVersion: v1 kind: Secret metadata: name: gitea-actions-runner namespace: gitea-actions labels: app.kubernetes.io/name: act-runner type: Opaque stringData: token: ENC[AES256_GCM,data:f574mAUkLvMGq0TYycwCd4tduMuBgQLiTg/140kuRDgFUYYm1ZoSjQ==,iv:Tn7gFWBLm2hHk/BbfVX7qIZegwZp9ah1cMou5i2O91E=,tag:TkdSiMI4sdCNn2JuN++Pig==,type:str] sops: kms: [] gcp_kms: [] azure_kv: [] hc_vault: [] age: - recipient: age175l8mdpdfu7hq0aml3exs3gykarwjmuvr23sq56s3wjejnyk44wsp4mfzg enc: | -----BEGIN AGE ENCRYPTED FILE----- YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBMYjhDVis5UzBvMWdjQUtk T28wRTFZdjB6NFZOYmxQTGpOcksrb2pyK1RNCjZVdnFHU0IvOEcvcmRjZ05SQWI0 OTdEekJDYlc3cUxNU29OZU9YWlM5b00KLS0tIEtNeHlrV3NXUnhyNnJncW5vZmta MDZLUE52QzJXbFlrNWxOcVhJbDNnY00KxCpFkbhhCuk4Fa8CC3C4+R9AcsUnaXQR UjAfwKFoXAneXUih7TTXMbR/6+VgQBww5Bmwpn7jVLnzP0N0pIZVTA== -----END AGE ENCRYPTED FILE----- lastmodified: "2026-09-29T05:48:35Z" mac: ENC[AES256_GCM,data:nobqr794nrdRYFrd8Ct8bw9M8NtftJXawRGk9zrL+pTWahwlWrwXVtOAxMGEPVojz3WemsxTJESzmzy0gcT1QcrjpYTsF2MVHcr6+umk8q9gAh2enyxy/0QkYiSt6XjvRVqfqleLanEkeIq1FPf2zhSLSJaiw4/oZTfkCHD1/Zg=,iv:JxaP0htmGcvE4ZU1YAmGF4A6JkejV29NNygyMl1OKF8=,tag:G70NvcPyVuagXhugWoUfTw==,type:str] pgp: [] encrypted_regex: ^(data|stringData)$ version: 3.9.4