Hi Team, I want to deploy the Flink operator in t...
# troubleshooting
s
Hi Team, I want to deploy the Flink operator in two different namespaces. I have successfully deployed it in the flink1 namespace, but I am encountering errors when trying to deploy it in the flink2 namespace. The error message I receive is: Error: INSTALLATION FAILED: Unable to continue with install: ClusterRole "flink-operator" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "flink-kubernetes-operator-2": current value is "flink-kubernetes-operator"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "flink2": current value is "flink1"
Please I need help?
s
ClusterRole flink-operator is already deployed in cluster. And you are trying to deploy it with changed release-name. That's why this error is coming
I think you can comment out cluster role in the rbac.yaml
s
Thank you @Saransh Jain I will try it out. Is there any document how to deploy flink operator in two different namespaces?