diff --git a/gitea-runner/deployment.yaml b/gitea-runner/deployment.yaml new file mode 100644 index 0000000..f881bf3 --- /dev/null +++ b/gitea-runner/deployment.yaml @@ -0,0 +1,49 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: act-runner + name: act-runner +spec: + replicas: 1 + selector: + matchLabels: + app: act-runner + strategy: {} + template: + spec: + restartPolicy: Always + volumes: + - name: runner-data + persistentVolumeClaim: + claimName: act-runner-vol + securityContext: + fsGroup: 1000 + containers: + - name: runner + image: gitea/act_runner:nightly-dind-rootless + imagePullPolicy: Always + # command: ["sh", "-c", "while ! nc -z localhost 2376