MCPcopy Create free account
hub / github.com/Climatik-Project/Climatik-Project / UninstallPrometheusOperator

Function UninstallPrometheusOperator

test/utils/utils.go:70–76  ·  view source on GitHub ↗

UninstallPrometheusOperator uninstalls the prometheus

()

Source from the content-addressed store, hash-verified

68
69// UninstallPrometheusOperator uninstalls the prometheus
70func UninstallPrometheusOperator() {
71 url := fmt.Sprintf(prometheusOperatorURL, prometheusOperatorVersion)
72 cmd := exec.Command("kubectl", "delete", "-f", url)
73 if _, err := Run(cmd); err != nil {
74 warnError(err)
75 }
76}
77
78// UninstallCertManager uninstalls the cert manager
79func UninstallCertManager() {

Callers 1

e2e_test.goFile · 0.92

Calls 2

RunFunction · 0.85
warnErrorFunction · 0.85

Tested by

no test coverage detected