Skip to content

Commit

Permalink
temporarily made cronjob run every minute for alert testing
Browse files Browse the repository at this point in the history
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
  • Loading branch information
nicklesimba committed Jan 19, 2023
1 parent 6a980a0 commit 0f0806d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ var _ = Describe("Allocation operations", func() {
"range_start": "00192.00168.1.44",
"range_end": "00192.00168.01.209",
"gateway": "192.168.10.1",
"reconciler_cron_expression": "30 4 * * *"
"reconciler_cron_expression": "* * * * *"
}
}`

Expand All @@ -269,6 +269,6 @@ var _ = Describe("Allocation operations", func() {
Expect(ipamConfig.RangeStart).To(Equal(net.ParseIP("192.168.1.44")))
Expect(ipamConfig.RangeEnd).To(Equal(net.ParseIP("192.168.1.209")))
Expect(ipamConfig.RangeEnd).To(Equal(net.ParseIP("192.168.1.209")))
Expect(ipamConfig.ReconcilerCronExpression).To(Equal("30 4 * * *"))
Expect(ipamConfig.ReconcilerCronExpression).To(Equal("* * * * *"))
})
})
2 changes: 1 addition & 1 deletion script/install-cni.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ EOF
"kubernetes": {
"kubeconfig": "${WHEREABOUTS_KUBECONFIG_LITERAL}"
},
"reconciler_cron_expression": "30 4 * * *"
"reconciler_cron_expression": "* * * * *"
}
EOF

Expand Down

0 comments on commit 0f0806d

Please sign in to comment.