Skip to content

Commit

Permalink
Revert "OCPBUGS-28230: enforce termination message policy on all plat…
Browse files Browse the repository at this point in the history
…form pods"
  • Loading branch information
neisw committed Apr 18, 2024
1 parent 886b7ae commit d11bb58
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 160 deletions.
24 changes: 13 additions & 11 deletions pkg/defaultmonitortests/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,30 @@ package defaultmonitortests
import (
"fmt"

"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalawscloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalazurecloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalgcpcloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/watchrequestcountscollector"
"github.com/sirupsen/logrus"

"github.com/openshift/origin/pkg/monitortests/kubeapiserver/disruptionnewapiserver"

"github.com/openshift/origin/pkg/monitortests/testframework/alertanalyzer"
"github.com/openshift/origin/pkg/monitortests/testframework/pathologicaleventanalyzer"

"github.com/openshift/origin/pkg/monitortests/kubeapiserver/apiservergracefulrestart"

"github.com/openshift/origin/pkg/monitortestframework"
"github.com/openshift/origin/pkg/monitortests/authentication/legacyauthenticationmonitortests"
"github.com/openshift/origin/pkg/monitortests/authentication/requiredsccmonitortests"
azuremetrics "github.com/openshift/origin/pkg/monitortests/cloud/azure/metrics"
"github.com/openshift/origin/pkg/monitortests/clusterversionoperator/legacycvomonitortests"
"github.com/openshift/origin/pkg/monitortests/clusterversionoperator/operatorstateanalyzer"
"github.com/openshift/origin/pkg/monitortests/clusterversionoperator/terminationmessagepolicy"
"github.com/openshift/origin/pkg/monitortests/etcd/etcdloganalyzer"
"github.com/openshift/origin/pkg/monitortests/etcd/legacyetcdmonitortests"
"github.com/openshift/origin/pkg/monitortests/imageregistry/disruptionimageregistry"
"github.com/openshift/origin/pkg/monitortests/kubeapiserver/apiservergracefulrestart"
"github.com/openshift/origin/pkg/monitortests/kubeapiserver/auditloganalyzer"
"github.com/openshift/origin/pkg/monitortests/kubeapiserver/disruptionlegacyapiservers"
"github.com/openshift/origin/pkg/monitortests/kubeapiserver/disruptionnewapiserver"
"github.com/openshift/origin/pkg/monitortests/kubeapiserver/legacykubeapiservermonitortests"
"github.com/openshift/origin/pkg/monitortests/monitoring/statefulsetsrecreation"
"github.com/openshift/origin/pkg/monitortests/network/disruptioningress"
Expand All @@ -30,24 +40,17 @@ import (
"github.com/openshift/origin/pkg/monitortests/node/watchpods"
"github.com/openshift/origin/pkg/monitortests/storage/legacystoragemonitortests"
"github.com/openshift/origin/pkg/monitortests/testframework/additionaleventscollector"
"github.com/openshift/origin/pkg/monitortests/testframework/alertanalyzer"
"github.com/openshift/origin/pkg/monitortests/testframework/clusterinfoserializer"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalawscloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalazurecloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalgcpcloudservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionexternalservicemonitoring"
"github.com/openshift/origin/pkg/monitortests/testframework/disruptionserializer"
"github.com/openshift/origin/pkg/monitortests/testframework/e2etestanalyzer"
"github.com/openshift/origin/pkg/monitortests/testframework/intervalserializer"
"github.com/openshift/origin/pkg/monitortests/testframework/knownimagechecker"
"github.com/openshift/origin/pkg/monitortests/testframework/legacytestframeworkmonitortests"
"github.com/openshift/origin/pkg/monitortests/testframework/pathologicaleventanalyzer"
"github.com/openshift/origin/pkg/monitortests/testframework/timelineserializer"
"github.com/openshift/origin/pkg/monitortests/testframework/trackedresourcesserializer"
"github.com/openshift/origin/pkg/monitortests/testframework/watchclusteroperators"
"github.com/openshift/origin/pkg/monitortests/testframework/watchevents"
"github.com/openshift/origin/pkg/monitortests/testframework/watchrequestcountscollector"
"github.com/sirupsen/logrus"
)

// ListAllMonitorTests is a helper that returns a simple list of
Expand Down Expand Up @@ -143,7 +146,6 @@ func newUniversalMonitorTests(info monitortestframework.MonitorTestInitializatio
monitorTestRegistry.AddMonitorTestOrDie("legacy-authentication-invariants", "apiserver-auth", legacyauthenticationmonitortests.NewLegacyTests())

monitorTestRegistry.AddMonitorTestOrDie("legacy-cvo-invariants", "Cluster Version Operator", legacycvomonitortests.NewLegacyTests())
monitorTestRegistry.AddMonitorTestOrDie("termination-message-policy", "Cluster Version Operator", terminationmessagepolicy.NewAnalyzer())
monitorTestRegistry.AddMonitorTestOrDie("operator-state-analyzer", "Cluster Version Operator", operatorstateanalyzer.NewAnalyzer())
monitorTestRegistry.AddMonitorTestOrDie("required-scc-annotation-checker", "Cluster Version Operator", requiredsccmonitortests.NewAnalyzer())

Expand Down

This file was deleted.

0 comments on commit d11bb58

Please sign in to comment.