From 171777c34aa4ca331ef1515c37c78f666b092ce6 Mon Sep 17 00:00:00 2001 From: Mariano Grande Date: Thu, 2 Dec 2021 15:43:01 -0300 Subject: [PATCH] AKS - regulated fix for 'Alert rule payload cannot be empty' issue with new scheduledQueryRules API version (#51) --- cluster-stamp.json | 8 ++++++-- cluster-stamp.v2.json | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cluster-stamp.json b/cluster-stamp.json index c457c213..788225ef 100644 --- a/cluster-stamp.json +++ b/cluster-stamp.json @@ -917,7 +917,9 @@ ], "properties": { "description":"The only images we want in live/ are those that came from this ACR instance, but from the quarantine/ repository.", - "actions": [], + "actions": { + "actionGroups": [] + }, "criteria": { "allOf": [ { @@ -956,7 +958,9 @@ ], "properties": { "description":"Example from: https://docs.microsoft.com/azure/azure-monitor/insights/container-insights-alerts", - "actions": [], + "actions": { + "actionGroups": [] + }, "criteria": { "allOf": [ { diff --git a/cluster-stamp.v2.json b/cluster-stamp.v2.json index 1428521a..5517bc7f 100644 --- a/cluster-stamp.v2.json +++ b/cluster-stamp.v2.json @@ -917,7 +917,9 @@ ], "properties": { "description":"The only images we want in live/ are those that came from this ACR instance, but from the quarantine/ repository.", - "actions": [], + "actions": { + "actionGroups": [] + }, "criteria": { "allOf": [ { @@ -956,7 +958,9 @@ ], "properties": { "description":"Example from: https://docs.microsoft.com/azure/azure-monitor/insights/container-insights-alerts", - "actions": [], + "actions": { + "actionGroups": [] + }, "criteria": { "allOf": [ {