fix(forgejo-runner): fix additional envs creation

This commit is contained in:
Alexey Pavlunin 2024-09-30 13:25:49 +03:00
parent 37a55a4e0f
commit 568737f2b0
2 changed files with 10 additions and 5 deletions

View file

@ -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

View file

@ -212,3 +212,11 @@ nodeSelector: {}
tolerations: []
affinity: {}
## Additional environment variables to be set on runner container
## Example:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars: []