Skip to content

Commit

Permalink
fix(terraform): add toleration to use infracipool (jenkins-infra#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored and smerle33 committed Jan 16, 2024
1 parent 91697a9 commit 33f2bee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vars/terraform.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ def agentTemplate(containerImage, body) {
kind: Pod
spec:
automountServiceAccountToken: false
tolerations:
- key: "jenkins"
operator: "Equal"
value: "infra.ci.jenkins.io"
effect: "NoSchedule"
resources:
limits:
cpu: 2
Expand Down

0 comments on commit 33f2bee

Please sign in to comment.