lucky-sideburn / kubeinvaders

Gamified Chaos Engineering Tool for Kubernetes
Apache License 2.0
1.02k stars 127 forks source link

Error while creating a new deployment in different namespace #61

Closed rohits-splunk closed 2 years ago

rohits-splunk commented 2 years ago

helm install kubeinvaders --set-string config.target_namespace="namespace1\,namespace2" \
-n kubeinvaders2 kubeinvaders/kubeinvaders --set ingress.enabled=true --set ingress.hostName=kubeinvaders.local --set deployment.image.tag=v1.9.6
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "kubeinvaders" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "kubeinvaders2": current value is "kubeinvaders1"

lucky-sideburn commented 2 years ago

Hi @rohits-splunk at momento is not supported a namespace for the installation of KubeInvaders different from a namespace named "kubeinvaders"

The error is correct. The clusterrole already exists.