Remove volume mounts

This commit is contained in:
Nikola Jokic 2025-08-21 15:43:51 +02:00
parent ad2dd7d787
commit 3643b1b4e5
No known key found for this signature in database
GPG Key ID: E4104494F9B8DDF6
2 changed files with 4 additions and 5 deletions

View File

@ -185,10 +185,6 @@ spec:
{{- include "gha-runner-scale-set.dind-container" . | nindent 8 }}
{{- end }}
{{- include "gha-runner-scale-set.non-runner-non-dind-containers" . | nindent 6 }}
{{- else if eq $containerMode.type "kubernetes" }}
- name: runner
{{- include "gha-runner-scale-set.kubernetes-mode-runner-container" . | nindent 8 }}
{{- include "gha-runner-scale-set.non-runner-containers" . | nindent 6 }}
{{- else }}
{{- include "gha-runner-scale-set.default-mode-runner-containers" . | nindent 6 }}
{{- end }}
@ -203,7 +199,6 @@ spec:
{{- include "gha-runner-scale-set.dind-work-volume" . | nindent 6 }}
{{- include "gha-runner-scale-set.non-work-volumes" . | nindent 6 }}
{{- else if eq $containerMode.type "kubernetes" }}
{{- include "gha-runner-scale-set.kubernetes-mode-work-volume" . | nindent 6 }}
{{- include "gha-runner-scale-set.non-work-volumes" . | nindent 6 }}
{{- else }}
{{- with .Values.template.spec.volumes }}

View File

@ -374,6 +374,10 @@ template:
## fieldPath: metadata.name
## - name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER
## value: "true"
# - name: ACTIONS_RUNNER_IMAGE
# valueFrom:
# fieldRef:
# fieldPath: spec.containers[0].image
## volumeMounts:
## - name: work
## mountPath: /home/runner/_work