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

### Details
- **Trigger**: `workflow_dispatch` by `@alexlebens`
- **Commit**: `9f0d2d9` (on `main`)
- **Charts Updated**: `gitea`

Reviewed-on: #5188
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
2026-03-27 03:19:57 +00:00

111 lines
3.6 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: "docker.io/busybox:1.37.0@sha256:1487d0af5f52b4ba31c7e465126ee2123fe3f2305d638e7827681e7cf6c83d5e"
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.io/docker:29.3.1-dind@sha256:4d90f1f6c400315c2dba96d3ec93c01e64198395cbba04f79d12adce4f737029"
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: "docker.io/gitea/act_runner:0.3.1@sha256:c2a169c5e99864c25e32527cef3d82203225e09558773022bf3dc164a2e6d762"
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: 10Gi