diff --git a/manifests/artemis/gitea-runners/runner-artemis-1.yaml b/manifests/artemis/gitea-runners/runner-artemis-1.yaml index fbe1cbf..9be9beb 100644 --- a/manifests/artemis/gitea-runners/runner-artemis-1.yaml +++ b/manifests/artemis/gitea-runners/runner-artemis-1.yaml @@ -1,7 +1,8 @@ -kind: PersistentVolumeClaim +--- apiVersion: v1 +kind: PersistentVolumeClaim metadata: - name: act-runner-vol-1 + name: gitea-runner-data-pvc spec: accessModes: - ReadWriteOnce @@ -13,49 +14,38 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - labels: - app: act-runner-1 - name: act-runner-1 + name: gitea-act-runner-dind spec: replicas: 1 selector: matchLabels: - app: act-runner-1 - strategy: {} + app: gitea-act-runner-dind template: metadata: - creationTimestamp: null labels: - app: act-runner-1 + app: gitea-act-runner-dind spec: - restartPolicy: Always - volumes: - - name: runner-data - persistentVolumeClaim: - claimName: act-runner-vol-1 - securityContext: - fsGroup: 1000 containers: - - name: runner-1 - image: gitea/act_runner:nightly-dind-rootless - imagePullPolicy: Always - command: ["sh", "-c", "while ! nc -z localhost 2376