diff --git a/gitea-runner/deployment.yaml b/gitea-runner/deployment.yaml index fe09198..9388db4 100644 --- a/gitea-runner/deployment.yaml +++ b/gitea-runner/deployment.yaml @@ -1,34 +1,39 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: gitea-runner + annotations: + deployment.kubernetes.io/revision: "4" + labels: + app: act-runner + name: act-runner + namespace: gitea-runner spec: + progressDeadlineSeconds: 600 replicas: 1 - strategy: - type: Recreate + revisionHistoryLimit: 10 selector: matchLabels: - app: gitea-runner + app: act-runner + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate template: metadata: + creationTimestamp: null labels: - app: gitea-runner + app: act-runner spec: - restartPolicy: Always - volumes: - - name: docker-certs - emptyDir: {} - - name: runner-data - persistentVolumeClaim: - claimName: gitea-runner-pvc containers: - - name: runner - image: gitea/act_runner:nightly - imagePullPolicy: Always - command: ["sh", "-c", "while ! nc -z localhost 2376