Skip to content

Commit

Permalink
Merge pull request Kuadrant#594 from jsmolar/jsmolar2
Browse files Browse the repository at this point in the history
Fix metadata tests
  • Loading branch information
jsmolar authored Nov 18, 2024
2 parents 7ff30c8 + b6aedca commit d2d194c
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 d2d194c

Please sign in to comment.