Files
git.limbosolutions.com/deploy/act-runners/limbosolutions-com/deploy/app/deployment.yaml
Márcio Fernandes 9bfbeb45c5
Some checks failed
/ continuous-deploy (push) Has been cancelled
added act-runners/limbosolutions-com
2026-03-15 11:02:08 +00:00

66 lines
1.7 KiB
YAML

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
spec:
containers:
- name: act-runner
image: git.limbosolutions.com/kb/gitea/act_runner:0.3-fatboy
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