24 lines
914 B
Plaintext
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"
|