Files
container_builder/k3s/10-runner-secret.yaml.example
2026-08-27 10:46:36 +02:00

24 lines
914 B
Plaintext

# -----------------------------------------------------------------------------
# Gitea act_runner registration secret.
#
# 1. Copy this file: cp 10-runner-secret.yaml.example 10-runner-secret.yaml
# 2. Fill in the two stringData values below.
# 3. Apply: kubectl apply -f 10-runner-secret.yaml
#
# GITEA_INSTANCE_URL : Base URL of your Gitea server (no trailing /actions).
# GITEA_RUNNER_REGISTRATION_TOKEN :
# Token from Gitea -> (Site Admin | Org | Repo) -> Actions -> Runners
# -> "Create new Runner".
#
# The runner registers itself on first start using these values.
# -----------------------------------------------------------------------------
apiVersion: v1
kind: Secret
metadata:
name: act-runner-registration
namespace: gitea-runner
type: Opaque
stringData:
GITEA_INSTANCE_URL: "https://gitea.example.com"
GITEA_RUNNER_REGISTRATION_TOKEN: "REPLACE_WITH_REGISTRATION_TOKEN"