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
|
value: /certs/client
|
||||||
- name: DOCKER_TLS_VERIFY
|
- name: DOCKER_TLS_VERIFY
|
||||||
value: "1"
|
value: "1"
|
||||||
{{- with .Values.runner.config.file.runner.envs }}
|
{{- with .Values.extraEnvVars }}
|
||||||
{{- range $key, $value := . }}
|
{{- toYaml . | nindent 12 }}
|
||||||
- name: {{ $key }}
|
|
||||||
value: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: runner-configfile
|
- name: runner-configfile
|
||||||
|
|
|
@ -212,3 +212,11 @@ nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
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