Skip to content

Commit

Permalink
fix(k8s): apply toleration to kaniko build pods
Browse files Browse the repository at this point in the history
Previously, we were applying a `NoSchedule` toleration to the
`garden-util` pod, but not the actual builder pods. This is fixed here.
  • Loading branch information
thsig committed Jul 8, 2021
1 parent 0828c5e commit f8e1986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/plugins/kubernetes/container/build/kaniko.ts
Expand Up @@ -427,6 +427,7 @@ async function runKaniko({
},
},
],
tolerations: [builderToleration],
}

if (provider.config.deploymentRegistry?.hostname === inClusterRegistryHostname) {
Expand Down

0 comments on commit f8e1986

Please sign in to comment.