We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ff30c8 + b6aedca commit d2d194cCopy full SHA for d2d194c
testsuite/tests/singlecluster/authorino/metadata/conftest.py
@@ -6,16 +6,14 @@
6
7
8
@pytest.fixture(scope="module")
9
-def create_client_secret(request, cluster):
+def create_client_secret(request, cluster, authorino):
10
"""Creates Client Secret, used by Authorino to start the authentication with the UMA registry"""
11
12
def _create_secret(name, client_id, client_secret):
13
model = {
14
"apiVersion": "v1",
15
"kind": "Secret",
16
- "metadata": {
17
- "name": name,
18
- },
+ "metadata": {"name": name, "namespace": authorino.namespace()},
19
"stringData": {"clientID": client_id, "clientSecret": client_secret},
20
"type": "Opaque",
21
}
0 commit comments