Files
infrastructure/clusters/cl01tl/manifests/gitea/StatefulSet-gitea-gitea-actions-act-runner.yaml
gitea-bot 7b17e64997 Automated Manifest Update (#4514)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.

Reviewed-on: #4514
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
2026-03-07 05:14:13 +00:00

111 lines
3.3 KiB
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
helm.sh/chart: gitea-actions-0.0.3
app: gitea-actions-act-runner
app.kubernetes.io/name: gitea-actions-act-runner
app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "0.261.3"
version: "0.261.3"
app.kubernetes.io/managed-by: Helm
annotations:
name: gitea-gitea-actions-act-runner
namespace: gitea
spec:
replicas: 6
selector:
matchLabels:
app.kubernetes.io/name: gitea-actions-act-runner
app.kubernetes.io/instance: gitea
template:
metadata:
annotations:
checksum/config: a40534c6e89cbb91f24a780f8910b70fcfda4b7ff61e88e37ac2c5e14a3768d0
labels:
helm.sh/chart: gitea-actions-0.0.3
app: gitea-actions-act-runner
app.kubernetes.io/name: gitea-actions-act-runner
app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "0.261.3"
version: "0.261.3"
app.kubernetes.io/managed-by: Helm
spec:
securityContext: {}
initContainers:
- name: init-gitea
image: "busybox:1.37.0"
command:
- sh
- -c
- |
echo 'Trying to reach Gitea on http://gitea-http.gitea:3000'
until timeout 10 wget --no-check-certificate --spider http://gitea-http.gitea:3000; do
sleep 3
echo "Trying again in 3 seconds..."
done
echo "Gitea has been reached!"
- name: dind
image: "docker:28.3.3-dind"
imagePullPolicy: IfNotPresent
restartPolicy: Always
securityContext:
privileged: true
startupProbe:
exec:
command:
- /usr/bin/test
- -S
- /var/run/docker.sock
livenessProbe:
exec:
command:
- /usr/bin/test
- -S
- /var/run/docker.sock
resources: {}
volumeMounts:
- mountPath: /var/run/
name: docker-socket
containers:
- name: act-runner
image: "gitea/act_runner:0.2.13"
imagePullPolicy: IfNotPresent
workingDir: /data
env:
- name: GITEA_RUNNER_REGISTRATION_TOKEN
valueFrom:
secretKeyRef:
name: "gitea-runner-secret"
key: "token"
- name: GITEA_INSTANCE_URL
value: http://gitea-http.gitea:3000
- name: CONFIG_FILE
value: /actrunner/config.yaml
- name: TZ
value: America/Chicago
resources: {}
volumeMounts:
- mountPath: /actrunner/config.yaml
name: act-runner-config
subPath: config.yaml
- mountPath: /var/run/docker.sock
name: docker-socket
subPath: docker.sock
- mountPath: /data
name: data-act-runner
volumes:
- name: act-runner-config
configMap:
name: gitea-gitea-actions-act-runner-config
- name: docker-socket
emptyDir: {}
volumeClaimTemplates:
- metadata:
name: data-act-runner
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi