diff --git a/tests/cluster_wide_install/cluster_wide_install_suite_test.go b/tests/cluster_wide_install/cluster_wide_install_suite_test.go index a44d07ec..307fe530 100644 --- a/tests/cluster_wide_install/cluster_wide_install_suite_test.go +++ b/tests/cluster_wide_install/cluster_wide_install_suite_test.go @@ -20,7 +20,7 @@ import ( var ( testName = "Cluster-wide install" - opNamespace = "test-cluster-wide-install" + opNamespace = "cass-operator" dcNamespace1 = "test-cluster-wide-install-ns1" dcNamespace2 = "test-cluster-wide-install-ns2" dc1Name = "dc1" diff --git a/tests/cluster_wide_install/kustomization.yaml b/tests/cluster_wide_install/kustomization.yaml index 5d113ec0..7a09bae2 100644 --- a/tests/cluster_wide_install/kustomization.yaml +++ b/tests/cluster_wide_install/kustomization.yaml @@ -1,30 +1,5 @@ -# Set WATCH_NAMESPACE to "" in the deployment to provide cluster-wide install testing -namespace: test-cluster-wide-install - apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -patchesJson6902: -- target: - group: rbac.authorization.k8s.io - version: v1 - kind: ClusterRoleBinding - name: cass-operator-manager-rolebinding - patch: |- - - op: replace - path: /metadata/namespace - value: test-cluster-wide-install - - op: replace - path: /subjects/0/namespace - value: test-cluster-wide-install -- target: - group: rbac.authorization.k8s.io - version: v1 - kind: ClusterRole - name: cass-operator-manager-crrole - patch: |- - - op: replace - path: /metadata/namespace - value: test-cluster-wide-install resources: - ../../config/deployments/cluster