You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd:=exec.CommandContext(backgroundContext, "kubectl", "delete", "-f", url) //gosec:disable G204 -- We intentionally want to exec a sub process with a var
"-n", "kube-system", "--ignore-not-found", "--force", "--grace-period=0")//gosec:disable G204 -- We intentionally want to exec a sub process with a var
78
81
if_, err:=Run(cmd); err!=nil {
79
82
warnError(err)
80
83
}
@@ -83,18 +86,19 @@ func UninstallCertManager() {
83
86
84
87
// InstallCertManager installs the cert manager bundle.
cmd:=exec.CommandContext(backgroundContext, "kubectl", "apply", "-f", url)//gosec:disable G204 -- We intentionally want to exec a sub process with a var
88
92
if_, err:=Run(cmd); err!=nil {
89
93
returnerr
90
94
}
91
95
// Wait for cert-manager-webhook to be ready, which can take time if cert-manager
92
96
// was re-installed after uninstalling on a cluster.
0 commit comments