Skip to content

Commit

Permalink
assisted ztp: add https-webserver test namespace pods to report dump (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trewest authored Dec 12, 2024
1 parent 957f231 commit cd56f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var (

// ReporterCRDsToDump tells to the reporter what CRs to dump.
ReporterCRDsToDump = []k8sreporter.CRData{
{Cr: &corev1.PodList{}},
{Cr: &corev1.SecretList{}},
{Cr: &agentInstallV1Beta1.AgentServiceConfigList{}},
{Cr: &hivev1.ClusterDeploymentList{}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ var _ = Describe(
Skip(msg)
}

tsparams.ReporterNamespacesToDump[nsname] = "httpdtest namespace"

By("Creating httpd-test namespace")
testNS, err := namespace.NewBuilder(HubAPIClient, nsname).Create()
Expect(err).ToNot(HaveOccurred(), "error creating namespace")
Expand Down

0 comments on commit cd56f5f

Please sign in to comment.