removes forgejo_runner.yaml

This commit is contained in:
franz.germann1 2024-10-29 13:52:05 +01:00
parent d5556dfb13
commit 9c209d313e

View file

@ -1,56 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: forgejo-runner
namespace: default # change this if you have a specific namespace
labels:
app: forgejo-runner
spec:
replicas: 1
selector:
matchLabels:
app: forgejo-runner
template:
metadata:
labels:
app: forgejo-runner
spec:
containers:
- name: forgejo-runner
image: docker.io/gitea/act_runner:latest # Use the latest version or specify a particular tag
env:
# Set the URL of your Forgejo server here
- name: RUNNER_FORGEJO_URL
value: "https://cnoe.localtest.me:8443/gitea/" # Replace with your Forgejo server URL
# Token used to authenticate the runner with the Forgejo server
- name: RUNNER_FORGEJO_TOKEN
value: "LzlJirWbzxcLByhFpl6JPK8PQylKEdMRt1jTvLj7" # Replace with your runner token
# Optional - Runner labels to organize or tag your runners
- name: RUNNER_LABELS
value: "self-hosted,linux,kubernetes"
# Optional - Runner name for identification on the Forgejo server
- name: RUNNER_NAME
value: "forgejo-runner-k8s"
# Set this to debug mode if you want more verbose logging
- name: RUNNER_LOG_LEVEL
value: "info" # or "debug"
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "1000m"
memory: "1Gi"
volumeMounts:
- name: runner-data
mountPath: /data # Store runner data here
volumes:
- name: runner-data
emptyDir: {} # Use emptyDir for ephemeral storage or configure persistent storage as needed