Add in-cluster Forgejo Actions runner manifests (ADR-004)
DinD sidecar + forgejo-runner Deployment with PVC-backed registration state. Makefile targets for registration secret, deploy, and status.
This commit is contained in:
parent
f49be83f7e
commit
0f0b340754
4 changed files with 177 additions and 1 deletions
15
helm/forgejo-runner-registration.sops.yaml.template
Normal file
15
helm/forgejo-runner-registration.sops.yaml.template
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Encrypt as helm/forgejo-runner-registration.sops.yaml, then:
|
||||
# kubectl apply -f <(sops -d helm/forgejo-runner-registration.sops.yaml)
|
||||
#
|
||||
# Generate token (one-time, do not commit plaintext):
|
||||
# kubectl exec -n forgejo deploy/forgejo-gitea -- \
|
||||
# forgejo actions generate-runner-token --scope coulomb
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: forgejo-runner-registration
|
||||
namespace: forgejo
|
||||
type: Opaque
|
||||
stringData:
|
||||
token: REPLACE_WITH_RUNNER_REGISTRATION_TOKEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue