diff --git a/testsuite/tests/singlecluster/authorino/metadata/conftest.py b/testsuite/tests/singlecluster/authorino/metadata/conftest.py index 7a27377c..d2df569f 100644 --- a/testsuite/tests/singlecluster/authorino/metadata/conftest.py +++ b/testsuite/tests/singlecluster/authorino/metadata/conftest.py @@ -6,16 +6,14 @@ @pytest.fixture(scope="module") -def create_client_secret(request, cluster): +def create_client_secret(request, cluster, authorino): """Creates Client Secret, used by Authorino to start the authentication with the UMA registry""" def _create_secret(name, client_id, client_secret): model = { "apiVersion": "v1", "kind": "Secret", - "metadata": { - "name": name, - }, + "metadata": {"name": name, "namespace": authorino.namespace()}, "stringData": {"clientID": client_id, "clientSecret": client_secret}, "type": "Opaque", }