diff --git a/cmd/skupper/skupper_kube_site.go b/cmd/skupper/skupper_kube_site.go index 8c53db8a0..20296fd13 100644 --- a/cmd/skupper/skupper_kube_site.go +++ b/cmd/skupper/skupper_kube_site.go @@ -36,7 +36,7 @@ func (s *SkupperKubeSite) Create(cmd *cobra.Command, args []string) error { routerIngressFlag := cmd.Flag("ingress") routerCreateOpts.Platform = s.kube.Platform() - if !routerIngressFlag.Changed { + if !routerIngressFlag.Changed || routerCreateOpts.Ingress == "" { routerCreateOpts.Ingress = cli.GetIngressDefault() } if routerCreateOpts.Ingress == types.IngressNodePortString && routerCreateOpts.IngressHost == "" && routerCreateOpts.Router.IngressHost == "" {