File tree 4 files changed +5
-14
lines changed
4 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ require (
27
27
gopkg.in/yaml.v2 v2.4.0
28
28
k8s.io/api v0.30.3
29
29
k8s.io/apimachinery v0.30.3
30
+ k8s.io/client-go v0.30.3
30
31
sigs.k8s.io/controller-runtime v0.12.1
31
32
)
32
33
@@ -147,7 +148,6 @@ require (
147
148
gopkg.in/ini.v1 v1.67.0 // indirect
148
149
gopkg.in/yaml.v3 v3.0.1 // indirect
149
150
k8s.io/cli-runtime v0.30.3 // indirect
150
- k8s.io/client-go v0.30.3 // indirect
151
151
k8s.io/klog/v2 v2.120.1 // indirect
152
152
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
153
153
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
package investigations
2
2
3
3
import (
4
+ cannotretrieveupdatessre "github.com/openshift/configuration-anomaly-detection/pkg/investigations/cannotretrieveupdatessre"
4
5
"github.com/openshift/configuration-anomaly-detection/pkg/investigations/ccam"
5
6
"github.com/openshift/configuration-anomaly-detection/pkg/investigations/chgm"
6
7
"github.com/openshift/configuration-anomaly-detection/pkg/investigations/clustermonitoringerrorbudgetburn"
@@ -16,6 +17,7 @@ var availableInvestigations = []investigation.Investigation{
16
17
& clustermonitoringerrorbudgetburn.Investigation {},
17
18
& cpd.Investigation {},
18
19
& insightsoperatordown.Investigation {},
20
+ & cannotretrieveupdatessre.Investigation {},
19
21
}
20
22
21
23
// GetInvestigation returns the first Investigation that applies to the given alert title.
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
set -e
3
3
4
4
# Define the mapping of alert names to titles
@@ -8,6 +8,7 @@ declare -A alert_mapping=(
8
8
[" ClusterProvisioningDelay" ]=" ClusterProvisioningDelay -"
9
9
[" ClusterMonitoringErrorBudgetBurnSRE" ]=" ClusterMonitoringErrorBudgetBurnSRE Critical (1)"
10
10
[" InsightsOperatorDown" ]=" InsightsOperatorDown"
11
+ [" CannotRetrieveUpdatesSRE" ]=" CannotRetrieveUpdatesSRE"
11
12
)
12
13
13
14
# Function to print help message
You can’t perform that action at this time.
0 commit comments