Skip to content

Commit

Permalink
Adds support for tolerations in source cmd probe
Browse files Browse the repository at this point in the history
Signed-off-by: nagesh bansal <[email protected]>
  • Loading branch information
Nageshbansal committed Mar 1, 2024
1 parent 6992748 commit ee2dd97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/aws/aws-sdk-go v1.38.59
github.com/containerd/cgroups v1.0.1
github.com/kyokomi/emoji v2.2.4+incompatible
github.com/litmuschaos/chaos-operator v0.0.0-20240104104915-2d8472873222
github.com/litmuschaos/chaos-operator v0.0.0-20240301085554-ba4d2f704cfa
github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kyokomi/emoji v2.2.4+incompatible h1:np0woGKwx9LiHAQmwZx79Oc0rHpNw3o+3evou4BEPv4=
github.com/kyokomi/emoji v2.2.4+incompatible/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
github.com/litmuschaos/chaos-operator v0.0.0-20240104104915-2d8472873222 h1:e7QsO2cL0/aMlCNM2BRRg2gfv05C9ZeVF2U0BE7IPcE=
github.com/litmuschaos/chaos-operator v0.0.0-20240104104915-2d8472873222/go.mod h1:yDZVtAgRVgoQtf8tSN58tpus0kGFFJXTj/bppJCRrdo=
github.com/litmuschaos/chaos-operator v0.0.0-20240301085554-ba4d2f704cfa h1:Avbgl6Pcqm2yfpAHOD3Cd5x2KnMPv+HJkE9e6I4oo5k=
github.com/litmuschaos/chaos-operator v0.0.0-20240301085554-ba4d2f704cfa/go.mod h1:yDZVtAgRVgoQtf8tSN58tpus0kGFFJXTj/bppJCRrdo=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
Expand Down
1 change: 1 addition & 0 deletions pkg/probe/cmdprobe.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func createProbePod(clients clients.ClientSets, chaosDetails *types.ChaosDetails
ServiceAccountName: svcAccount,
Volumes: volume,
NodeSelector: source.NodeSelector,
Tolerations: source.Tolerations,
ImagePullSecrets: source.ImagePullSecrets,
Containers: []apiv1.Container{
{
Expand Down

0 comments on commit ee2dd97

Please sign in to comment.