UninstallPrometheusOperator uninstalls the prometheus
()
| 68 | |
| 69 | // UninstallPrometheusOperator uninstalls the prometheus |
| 70 | func 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 |
| 79 | func UninstallCertManager() { |
no test coverage detected