Ignore extra dind container when contaerinMode.type=dind. (#2418)

This commit is contained in:
Tingluo Huang
2023-03-17 09:26:51 +01:00
committed by GitHub
parent e5d8d65396
commit 064039afc0
5 changed files with 24 additions and 15 deletions
@@ -111,7 +111,7 @@ spec:
{{- include "gha-runner-scale-set.dind-runner-container" . | nindent 8 }}
- name: dind
{{- include "gha-runner-scale-set.dind-container" . | nindent 8 }}
{{- include "gha-runner-scale-set.non-runner-containers" . | nindent 6 }}
{{- include "gha-runner-scale-set.non-runner-non-dind-containers" . | nindent 6 }}
{{- else if eq .Values.containerMode.type "kubernetes" }}
- name: runner
{{- include "gha-runner-scale-set.kubernetes-mode-runner-container" . | nindent 8 }}