diff --git a/console-extensions.json b/console-extensions.json index 74e5912..c3b7f4c 100644 --- a/console-extensions.json +++ b/console-extensions.json @@ -45,17 +45,6 @@ "component": { "$codeRef": "KuadrantDNSPolicyCreatePage" } } }, - { - "type": "console.resource/create", - "properties": { - "model": { - "group": "kuadrant.io", - "version": "v1alpha1", - "kind": "DNSPolicy" - }, - "component": { "$codeRef": "KuadrantDNSPolicyCreatePage" } - } - }, { "type": "console.resource/create", "properties": { @@ -72,7 +61,7 @@ "properties": { "model": { "group": "kuadrant.io", - "version": "v1beta2", + "version": "v1beta3", "kind": "RateLimitPolicy" }, "component": { "$codeRef": "KuadrantRateLimitPolicyCreatePage" } @@ -89,17 +78,6 @@ "component": { "$codeRef": "KuadrantRateLimitPolicyCreatePage" } } }, - { - "type": "console.resource/create", - "properties": { - "model": { - "group": "kuadrant.io", - "version": "v1alpha1", - "kind": "TLSPolicy" - }, - "component": { "$codeRef": "KuadrantTLSCreatePage" } - } - }, { "type": "console.resource/create", "properties": { @@ -116,7 +94,7 @@ "properties": { "model": { "group": "kuadrant.io", - "version": "v1beta2", + "version": "v1beta3", "kind": "AuthPolicy" }, "component": { "$codeRef": "KuadrantAuthPolicyCreatePage" } diff --git a/src/utils/latest.tsx b/src/utils/latest.tsx index b50a659..b40e316 100644 --- a/src/utils/latest.tsx +++ b/src/utils/latest.tsx @@ -1,10 +1,10 @@ const resourceGVKMapping: { [key: string]: { group: string; version: string; kind: string } } = { Gateway: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'Gateway' }, HTTPRoute: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'HTTPRoute' }, - TLSPolicy: { group: 'kuadrant.io', version: 'v1alpha1', kind: 'TLSPolicy' }, - DNSPolicy: { group: 'kuadrant.io', version: 'v1alpha1', kind: 'DNSPolicy' }, - AuthPolicy: { group: 'kuadrant.io', version: 'v1beta2', kind: 'AuthPolicy' }, - RateLimitPolicy: { group: 'kuadrant.io', version: 'v1beta2', kind: 'RateLimitPolicy' }, + TLSPolicy: { group: 'kuadrant.io', version: 'v1', kind: 'TLSPolicy' }, + DNSPolicy: { group: 'kuadrant.io', version: 'v1', kind: 'DNSPolicy' }, + AuthPolicy: { group: 'kuadrant.io', version: 'v1beta3', kind: 'AuthPolicy' }, + RateLimitPolicy: { group: 'kuadrant.io', version: 'v1beta3', kind: 'RateLimitPolicy' }, ConfigMap: { group: '', version: 'v1', kind: 'ConfigMap' }, Listener: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'Listener' }, GatewayClass: { group: 'gateway.networking.k8s.io', version: 'v1', kind: 'GatewayClass' },