Skip to content

Commit

Permalink
Update Wave Autoscale health check schedule to run every minute and f…
Browse files Browse the repository at this point in the history
…ix license validation condition
  • Loading branch information
Ari-suhyeon committed Dec 2, 2024
1 parent edc6163 commit 0297c20
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: wave-autoscale-healthcheck
namespace: wave-autoscale
spec:
schedule: "*/10 * * * *"
schedule: "*/1 * * * *"
jobTemplate:
spec:
template:
Expand All @@ -31,7 +31,7 @@ spec:
code=$(echo ${response} | jq .code);
if [ "$code" -eq 200 ]; then
license=$(echo "$response" | jq -r '.license')
if [[ "$license" == "{}" ]]; then
if [ "$license" == "{}" ]; then
echo "Wave Autoscale License is invalid: empty map detected."
exit 1
else
Expand Down

0 comments on commit 0297c20

Please sign in to comment.