GoogleCloudPlatform / terraform-example-foundation-app

https://registry.terraform.io/modules/GoogleCloudPlatform/terraform-example-foundation-app/google
Apache License 2.0
33 stars 36 forks source link

Warn to don't create another namespace if already exists "istio-system" created #86

Closed vfigueiredo-cit closed 1 year ago

vfigueiredo-cit commented 3 years ago

Expected Behavior

Create a unique namespace called "istio-system".

Actual Behavior

On step 6-anthos-install, "Enable and Setup Multi Cluster Ingress (MCI)", (https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/tree/main/6-anthos-install#enable-and-setup-multi-cluster-ingress-mci), if when trying to create the namespace called "istio-system" get an error that it already exists:

Error from server (AlreadyExists): namespaces "istio-system" already exists

There is no warning not to create another one with a different name.

Steps to Reproduce the Problem

  1. Deploy foundation-app up to step 6-anthos-install, "Enable and Setup Multi Cluster Ingress (MCI)"
  2. Run the command to create the namespace:
    kubectl --context ${CTX_INGRESS} create namespace istio-system

Specifications

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days