Allowing extraEnv to be added to agentservices and agent deployments.

This commit is contained in:
Luca Cerone 2022-05-30 20:16:51 +02:00
parent 9cf2868738
commit d49c29b819
3 changed files with 8 additions and 0 deletions

View File

@ -87,6 +87,9 @@ spec:
secretKeyRef:
name: clearml-conf
key: tests_user_secret
{{- if .extraEnvs }}
{{ toYaml .extraEnvs | nindent 10 }}
{{- end }}
command:
- /bin/sh
- -c

View File

@ -81,6 +81,9 @@ spec:
secretKeyRef:
name: clearml-conf
key: tests_user_secret
{{- if .Values.agentservices.extraEnvs }}
{{ toYaml .Values.agentservices.extraEnvs | nindent 10 }}
{{- end }}
args:
- agentservices
volumeMounts:

View File

@ -281,6 +281,8 @@ agentGroups:
repository: "ubuntu"
pullPolicy: IfNotPresent
tag: "18.04"
extraEnvs: []
podAnnotations: {}