Add dockerEnv variable for RunnerDeployment (#912)

Resolves #878

Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
Pavel Smalenski
2021-12-14 09:13:24 +01:00
committed by GitHub
parent 6f51f560ba
commit 91102c8088
10 changed files with 490 additions and 0 deletions

View File

@@ -920,6 +920,11 @@ spec:
# false (default) = Docker support is provided by a sidecar container deployed in the runner pod.
# true = No docker sidecar container is deployed in the runner pod but docker can be used within the runner container instead. The image summerwind/actions-runner-dind is used by default.
dockerdWithinRunnerContainer: true
#Optional environement variables for docker container
# Valid only when dockerdWithinRunnerContainer=false
dockerEnv:
- name: HTTP_PROXY
value: http://example.com
# Docker sidecar container image tweaks examples below, only applicable if dockerdWithinRunnerContainer = false
dockerdContainerResources:
limits: