apiVersion: apps/v1 kind: Deployment metadata: name: actions-runner spec: selector: matchLabels: app: actions-runner template: metadata: labels: app: actions-runner spec: hostname: kube-runner serviceAccountName: actions-runner containers: - name: actions-runner image: actions-runner resources: requests: memory: "128Mi" cpu: "500m" env: - name: GITEA_INSTANCE_URL value: "https://git.kluster.moll.re" - name: GITEA_RUNNER_REGISTRATION_TOKEN valueFrom: secretKeyRef: name: actions-runner-secret key: runner-token - name: GITEA_RUNNER_LABELS value: k8s volumeMounts: - name: runner-data mountPath: /data volumes: - name: runner-data emptyDir: {}