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: 43a4fe1ea3555c21c050306bc0ba1a9bef4aa431a74f1e8ca5913ebbec4f8776 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