jolly-church-88521
11/15/2022, 4:51 PMnamespace, err := corev1.NewNamespace(ctx, name, ...)
if err != nil {
return nil, nil
}
to create them. But there are some exceptions, like kube-system
, which is already in EKS. Pulumi is failing with:
namespaces "kube-system" already exists
because obviously this namespace is already there. I tried to catch error message like if err.Error() == "…"
or/and return nil, nil
. But it’s still the same error message. Is there any way to workaround this?flat-laptop-90489
11/16/2022, 3:41 AM