diff --git a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf index c287e43..aec662a 100644 --- a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf +++ b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf @@ -25,37 +25,10 @@ containerMode: template: spec: - initContainers: - - name: init-dind-externals - image: ghcr.io/actions/actions-runner:latest - command: ["cp", "-r", "-v", "/home/runner/externals/.", "/home/runner/tmpDir/"] containers: - name: runner image: ghcr.io/actions/actions-runner:latest command: ["/home/runner/run.sh"] - env: - - name: DOCKER_HOST - value: unix:///var/run/docker.sock - volumeMounts: - - name: dind-sock - mountPath: /var/run - - name: dind - image: docker:dind - args: - - dockerd - - --host=unix:///var/run/docker.sock - - --group=$(DOCKER_GROUP_GID) - env: - - name: DOCKER_GROUP_GID - value: "123" - securityContext: - privileged: true - volumeMounts: - - name: dind-sock - mountPath: /var/run - volumes: - - name: dind-sock - emptyDir: {} controllerServiceAccount: namespace: github-runner