flux: kb act runner

This commit is contained in:
Márcio Fernandes
2026-06-04 20:46:10 +00:00
parent 7e68e15683
commit b7fb972c6c
8 changed files with 21 additions and 1 deletions
+68
View File
@@ -0,0 +1,68 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: act-runner
labels:
app: act-runner
spec:
replicas: 1
selector:
matchLabels:
app: act-runner
template:
metadata:
labels:
app: act-runner
buildkit.infra.limbosolutions.com/allow-build: "true"
chimera-www.limbosolutions.com/allow: "true"
spec:
containers:
- name: act-runner
image: oci.limbosolutions.com/public/gitea-act_runner:fatboy-0.6
imagePullPolicy: Always
env:
- name: LOG_LEVEL
value: "trace"
- name: CONFIG_FILE
value: /etc/act_runner/config.yaml
- name: GITEA_INSTANCE_URL
valueFrom:
secretKeyRef:
name: act-runner
key: GITEA_INSTANCE_URL
- name: GITEA_RUNNER_REGISTRATION_TOKEN
valueFrom:
secretKeyRef:
name: act-runner
key: GITEA_RUNNER_REGISTRATION_TOKEN
- name: GITEA_RUNNER_NAME
valueFrom:
secretKeyRef:
name: act-runner
key: GITEA_RUNNER_NAME
- name: GITEA_RUNNER_EPHEMERAL
value: "0"
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "400m"
volumeMounts:
- name: config-map
mountPath: /etc/act_runner/config.yaml
subPath: config.yaml
- name: runner-data
mountPath: /data/runner
volumes:
- name: config-map
configMap:
name: act-runner
- name: runner-data
emptyDir: {} # or PVC if you want persistence across pod restarts