Skip to content

Commit e3e456c

Browse files
committed
Adds Support for tolerations in source cmd probe
Signed-off-by: nagesh bansal <[email protected]>
1 parent 6992748 commit e3e456c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

go.mod

+4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ require (
7979
sigs.k8s.io/yaml v1.2.0 // indirect
8080
)
8181

82+
replace (
83+
github.com/litmuschaos/chaos-operator => ../chaos-operator
84+
)
85+
8286
// Pinned to kubernetes-1.21.2
8387
replace (
8488
k8s.io/api => k8s.io/api v0.21.2

pkg/probe/cmdprobe.go

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func createProbePod(clients clients.ClientSets, chaosDetails *types.ChaosDetails
179179
ServiceAccountName: svcAccount,
180180
Volumes: volume,
181181
NodeSelector: source.NodeSelector,
182+
Tolerations: source.Tolerations,
182183
ImagePullSecrets: source.ImagePullSecrets,
183184
Containers: []apiv1.Container{
184185
{

0 commit comments

Comments
 (0)