Skip to content

Commit

Permalink
v3.0.851
Browse files Browse the repository at this point in the history
  • Loading branch information
env0 User committed Aug 20, 2024
1 parent b3af7fa commit 7f308a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/scaled-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,5 @@ spec:
{{ end }}
terminationGracePeriodSeconds: 18000
restartPolicy: Never
{{- include "env0-agent.tolerations" .Values.tolerations | nindent 10 -}}
{{- include "env0-agent.tolerations" (ternary .Values.tolerations .Values.deploymentTolerations (empty .Values.deploymentTolerations)) | nindent 10 -}}
{{- include "env0-agent.affinity" (ternary .Values.affinity .Values.deploymentAffinity (empty .Values.deploymentAffinity)) | nindent 10 -}}
5 changes: 4 additions & 1 deletion values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,14 @@
"description": "Agent image pull secret",
"type": "string"
},

"tolerations": {
"description": "Kubernetes tolerations on the containers",
"type": "array"
},
"deploymentTolerations": {
"description": "Kubernetes tolerations for the deployment pods, This will override the default tolerations for deployment pods",
"type": "array"
},
"affinity": {
"description": "The default Kubernetes affinity that will be applied to all pods",
"$schema": "agent/helm/schemas/kubernetesjsonschema.dev/v1.10.3-standalone/affinity.json"
Expand Down

0 comments on commit 7f308a2

Please sign in to comment.