Skip to content

Commit

Permalink
v3.0.631
Browse files Browse the repository at this point in the history
  • Loading branch information
env0 User committed Dec 31, 2023
1 parent 0a560c2 commit 56bd319
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions helm/templates/scaled-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ spec:
metadata:
labels:
env0: agent-deployment
{{- if .Values.podAdditionalLabels }}
{{- range $k, $v := .Values.podAdditionalLabels }}
{{ $k }}: {{ $v }}
{{- end }}
{{ end }}

annotations:
"cluster-autoscaler.kubernetes.io/safe-to-evict": "false"
spec:
Expand Down
6 changes: 5 additions & 1 deletion helm/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"agentKey": {
"description": "The ID of the agent.",
"description": "The ID of the agent",
"type": "string"
},
"awsAccessKeyIdEncoded": {
Expand All @@ -13,6 +13,10 @@
"description": "The AWS_SECRET_ACCESS_KEY provided by env0 used to perform agent specific actions in env0's AWS account",
"type": "string"
},
"podAdditionalLabels": {
"description": "Additional labels to be added to the agent pods",
"type": "object"
},
"deploymentJobServiceAccountName": {
"description": "An optional K8s service account name you wish to set for the env0 deployment pods",
"type": "string"
Expand Down

0 comments on commit 56bd319

Please sign in to comment.