From 1295a339875b371d325cdbbee091d388922d3b4b Mon Sep 17 00:00:00 2001 From: Sergio Franco Garcia Date: Thu, 18 Jan 2024 14:54:01 +0000 Subject: [PATCH] Rename policiesToSync GatewayClass param field --- .../quick-start/control-cluster/cluster-config/configmap.yaml | 2 +- pkg/controllers/gateway/params.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/quick-start/control-cluster/cluster-config/configmap.yaml b/config/quick-start/control-cluster/cluster-config/configmap.yaml index abc21e947..7f6d65aff 100644 --- a/config/quick-start/control-cluster/cluster-config/configmap.yaml +++ b/config/quick-start/control-cluster/cluster-config/configmap.yaml @@ -6,7 +6,7 @@ metadata: data: params: | { - "policiesToSync": [ + "experimentalPolicySync": [ { "group": "kuadrant.io", "version": "v1beta1", "resource": "authpolicies" } ] } \ No newline at end of file diff --git a/pkg/controllers/gateway/params.go b/pkg/controllers/gateway/params.go index 030836e3c..ef5ea104b 100644 --- a/pkg/controllers/gateway/params.go +++ b/pkg/controllers/gateway/params.go @@ -20,7 +20,7 @@ type Params struct { // PoliciesToSync specifies a listof Policy GVRs that will be watched // in the hub and synced to the spokes - PoliciesToSync []ParamsGroupVersionResource `json:"policiesToSync,omitempty"` + PoliciesToSync []ParamsGroupVersionResource `json:"experimentalPolicySync,omitempty"` } type ParamsGroupVersionResource struct {