How to install 2 awx on the same cluster in 2 different namespace ?

Hello,

I have 2 namespace : infra-int and infra-dev. AWX run in infra-dev.

When I try to install with helm the second AWX in infra-int I get the following message :

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole “awx-operator-metrics-reader” 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 “infra-int”: current value is “infra-dev”

How to install 2 AWX on the same cluster in 2 different namespace ?

Thanks you

I can reproduce that issue locally with multiple helm deployments in different namespaces. However, I don’t run into that issue using make deploy or the Kustomization approach:

Feel free to open an issue for this. The helm chart is largely community maintained, hopefully some folks can chime in with potential fixes or a PR.

Thanks,
AWX Team

Thanks. I created this issue : Impossible to install 2 awx on the same cluster in 2 different namespace with HELM · Issue #1290 · ansible/awx-operator (github.com)