Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
  • Loading branch information
ccojocar committed Apr 11, 2022
1 parent 685be30 commit 4fc0ee2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/manager/spod/bindata/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func GetWebhook(
) *Webhook {
deployment := webhookDeployment.DeepCopy()
deployment.Namespace = namespace
// overwrite the default webhook's tolerations when custom are defined
if len(tolerations) > 0 {
deployment.Spec.Template.Spec.Tolerations = tolerations
}
Expand Down

0 comments on commit 4fc0ee2

Please sign in to comment.