Lable the app-ingress namespace
because `carrier uninstall` leaves it behind
@@ -85,6 +85,10 @@ func (w Workloads) apply(c *kubernetes.Cluster, ui *ui.UI, options kubernetes.In
return errors.Wrap(err, fmt.Sprintf("Installing %s failed:\n%s", appIngressYamlPath, out))
}
+ if err := c.LabelNamespace("app-ingress", kubernetes.CarrierDeploymentLabelKey, kubernetes.CarrierDeploymentLabelValue); err != nil {
+ return err
+ }
+
if err := c.WaitUntilPodBySelectorExist(ui, "app-ingress", "name=app-ingress", w.Timeout); err != nil {
return errors.Wrap(err, "failed waiting app-ingress deployment to exist")
}
