Skip to content

Commit

Permalink
Fix metadata tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Smolar <[email protected]>
  • Loading branch information
jsmolar committed Nov 15, 2024
1 parent 938aed4 commit b6aedca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions testsuite/tests/singlecluster/authorino/metadata/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit b6aedca

Please sign in to comment.