From 8ffe4cbfbd83dfea9c54a3554bd055f5126131a3 Mon Sep 17 00:00:00 2001 From: averevki Date: Tue, 12 Nov 2024 17:24:10 +0100 Subject: [PATCH] Update RLP and AP api versions Signed-off-by: averevki --- testsuite/kuadrant/policy/authorization/auth_policy.py | 2 +- testsuite/kuadrant/policy/rate_limit.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/kuadrant/policy/authorization/auth_policy.py b/testsuite/kuadrant/policy/authorization/auth_policy.py index 40b34ce2..f7b69230 100644 --- a/testsuite/kuadrant/policy/authorization/auth_policy.py +++ b/testsuite/kuadrant/policy/authorization/auth_policy.py @@ -33,7 +33,7 @@ def create_instance( ): """Creates base instance""" model: Dict = { - "apiVersion": "kuadrant.io/v1beta3", + "apiVersion": "kuadrant.io/v1", "kind": "AuthPolicy", "metadata": {"name": name, "namespace": cluster.project, "labels": labels}, "spec": { diff --git a/testsuite/kuadrant/policy/rate_limit.py b/testsuite/kuadrant/policy/rate_limit.py index 55102209..a46ee1ea 100644 --- a/testsuite/kuadrant/policy/rate_limit.py +++ b/testsuite/kuadrant/policy/rate_limit.py @@ -30,7 +30,7 @@ def __init__(self, *args, **kwargs): def create_instance(cls, cluster: KubernetesClient, name, target: Referencable, labels: dict[str, str] = None): """Creates new instance of RateLimitPolicy""" model = { - "apiVersion": "kuadrant.io/v1beta3", + "apiVersion": "kuadrant.io/v1", "kind": "RateLimitPolicy", "metadata": {"name": name, "labels": labels}, "spec": {