Skip to content

Commit 0f0806d

Browse files
committed
temporarily made cronjob run every minute for alert testing
Signed-off-by: nicklesimba <[email protected]>
1 parent 6a980a0 commit 0f0806d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: pkg/config/config_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ var _ = Describe("Allocation operations", func() {
259259
"range_start": "00192.00168.1.44",
260260
"range_end": "00192.00168.01.209",
261261
"gateway": "192.168.10.1",
262-
"reconciler_cron_expression": "30 4 * * *"
262+
"reconciler_cron_expression": "* * * * *"
263263
}
264264
}`
265265

@@ -269,6 +269,6 @@ var _ = Describe("Allocation operations", func() {
269269
Expect(ipamConfig.RangeStart).To(Equal(net.ParseIP("192.168.1.44")))
270270
Expect(ipamConfig.RangeEnd).To(Equal(net.ParseIP("192.168.1.209")))
271271
Expect(ipamConfig.RangeEnd).To(Equal(net.ParseIP("192.168.1.209")))
272-
Expect(ipamConfig.ReconcilerCronExpression).To(Equal("30 4 * * *"))
272+
Expect(ipamConfig.ReconcilerCronExpression).To(Equal("* * * * *"))
273273
})
274274
})

Diff for: script/install-cni.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ EOF
103103
"kubernetes": {
104104
"kubeconfig": "${WHEREABOUTS_KUBECONFIG_LITERAL}"
105105
},
106-
"reconciler_cron_expression": "30 4 * * *"
106+
"reconciler_cron_expression": "* * * * *"
107107
}
108108
EOF
109109

0 commit comments

Comments
 (0)