From 292a7158d403af5843bfb698866d9d9e50f2000a Mon Sep 17 00:00:00 2001 From: Martin Hesko Date: Tue, 22 Oct 2024 14:52:41 +0200 Subject: [PATCH] AuthPolicy version bump Signed-off-by: Martin Hesko --- README.md | 2 +- scale_test/gw-auth-policy.yaml | 2 +- scale_test/httproute-auth-policy.yaml | 2 +- testsuite/kuadrant/policy/authorization/auth_config.py | 2 +- testsuite/kuadrant/policy/authorization/auth_policy.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0a3b2952..0b12ccc2 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ podman run \ For developing tests for Authorino you might need to know content of the authorization JSON, you can do that through this AuthConfig, which will return all the context in the response ```yaml -apiVersion: authorino.kuadrant.io/v1beta2 +apiVersion: authorino.kuadrant.io/v1beta3 kind: AuthConfig metadata: name: example diff --git a/scale_test/gw-auth-policy.yaml b/scale_test/gw-auth-policy.yaml index e6bcb6aa..98ce497a 100644 --- a/scale_test/gw-auth-policy.yaml +++ b/scale_test/gw-auth-policy.yaml @@ -1,5 +1,5 @@ {{- $GW_NUM := .GW_NUM }} -apiVersion: kuadrant.io/v1beta2 +apiVersion: kuadrant.io/v1beta3 kind: AuthPolicy metadata: name: auth-policy-gw{{$GW_NUM}}-i{{ .Iteration }} diff --git a/scale_test/httproute-auth-policy.yaml b/scale_test/httproute-auth-policy.yaml index 8e90160e..8d99b12e 100644 --- a/scale_test/httproute-auth-policy.yaml +++ b/scale_test/httproute-auth-policy.yaml @@ -1,6 +1,6 @@ {{- $GW_NUM := .GW_NUM }} {{- $LISTENER_NUM := .LISTENER_NUM }} -apiVersion: kuadrant.io/v1beta2 +apiVersion: kuadrant.io/v1beta3 kind: AuthPolicy metadata: name: httproute-auth-policy-gw{{$GW_NUM}}-l{{$LISTENER_NUM}}-i{{ .Iteration }} diff --git a/testsuite/kuadrant/policy/authorization/auth_config.py b/testsuite/kuadrant/policy/authorization/auth_config.py index 8178a41b..528fe1f0 100644 --- a/testsuite/kuadrant/policy/authorization/auth_config.py +++ b/testsuite/kuadrant/policy/authorization/auth_config.py @@ -48,7 +48,7 @@ def create_instance( ): """Creates base instance""" model: Dict = { - "apiVersion": "authorino.kuadrant.io/v1beta2", + "apiVersion": "authorino.kuadrant.io/v1beta3", "kind": "AuthConfig", "metadata": {"name": name, "namespace": cluster.project, "labels": labels}, "spec": {"hosts": []}, diff --git a/testsuite/kuadrant/policy/authorization/auth_policy.py b/testsuite/kuadrant/policy/authorization/auth_policy.py index 58d691b5..4e8444e5 100644 --- a/testsuite/kuadrant/policy/authorization/auth_policy.py +++ b/testsuite/kuadrant/policy/authorization/auth_policy.py @@ -30,7 +30,7 @@ def create_instance( ): """Creates base instance""" model: Dict = { - "apiVersion": "kuadrant.io/v1beta2", + "apiVersion": "kuadrant.io/v1beta3", "kind": "AuthPolicy", "metadata": {"name": name, "namespace": cluster.project, "labels": labels}, "spec": {