fix(forgejo-runner): fix additional envs creation
This commit is contained in:
parent
37a55a4e0f
commit
568737f2b0
2 changed files with 10 additions and 5 deletions
|
@ -66,11 +66,8 @@ spec:
|
|||
value: /certs/client
|
||||
- name: DOCKER_TLS_VERIFY
|
||||
value: "1"
|
||||
{{- with .Values.runner.config.file.runner.envs }}
|
||||
{{- range $key, $value := . }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.extraEnvVars }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: runner-configfile
|
||||
|
|
|
@ -212,3 +212,11 @@ nodeSelector: {}
|
|||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
## Additional environment variables to be set on runner container
|
||||
## Example:
|
||||
## extraEnvVars:
|
||||
## - name: FOO
|
||||
## value: "bar"
|
||||
##
|
||||
extraEnvVars: []
|
||||
|
|
Loading…
Add table
Reference in a new issue