From 32a653c0ca5c4cd575c8ebb3c899f951cf5dcba2 Mon Sep 17 00:00:00 2001 From: robert lestak Date: Fri, 26 May 2023 19:33:46 -0700 Subject: [PATCH] enable passing docker-gid in helm chart (#2574) --- charts/actions-runner-controller/templates/deployment.yaml | 3 +++ charts/actions-runner-controller/values.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/charts/actions-runner-controller/templates/deployment.yaml b/charts/actions-runner-controller/templates/deployment.yaml index 020e9662..845da835 100644 --- a/charts/actions-runner-controller/templates/deployment.yaml +++ b/charts/actions-runner-controller/templates/deployment.yaml @@ -70,6 +70,9 @@ spec: {{- if .Values.logFormat }} - "--log-format={{ .Values.logFormat }}" {{- end }} + {{- if .Values.dockerGID }} + - "--docker-gid={{ .Values.dockerGID }}" + {{- end }} command: - "/manager" env: diff --git a/charts/actions-runner-controller/values.yaml b/charts/actions-runner-controller/values.yaml index 9d4dab84..97d0eb74 100644 --- a/charts/actions-runner-controller/values.yaml +++ b/charts/actions-runner-controller/values.yaml @@ -192,6 +192,10 @@ admissionWebHooks: ## specify log format for actions runner controller. Valid options are "text" and "json" logFormat: text +# enable setting the docker group id for the runner container +# https://github.com/actions/actions-runner-controller/pull/2499 +#dockerGID: 121 + githubWebhookServer: enabled: false replicaCount: 1