Skip to content

Commit

Permalink
bump tls and dns to v1 auth and rlp to v1beta3
Browse files Browse the repository at this point in the history
Signed-off-by: R-Lawton <[email protected]>
  • Loading branch information
R-Lawton committed Nov 7, 2024
1 parent 00d5f51 commit 4c9bd20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
26 changes: 2 additions & 24 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -72,7 +61,7 @@
"properties": {
"model": {
"group": "kuadrant.io",
"version": "v1beta2",
"version": "v1beta3",
"kind": "RateLimitPolicy"
},
"component": { "$codeRef": "KuadrantRateLimitPolicyCreatePage" }
Expand All @@ -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": {
Expand All @@ -116,7 +94,7 @@
"properties": {
"model": {
"group": "kuadrant.io",
"version": "v1beta2",
"version": "v1beta3",
"kind": "AuthPolicy"
},
"component": { "$codeRef": "KuadrantAuthPolicyCreatePage" }
Expand Down
8 changes: 4 additions & 4 deletions src/utils/latest.tsx
Original file line number Diff line number Diff line change
@@ -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' },
Expand Down

0 comments on commit 4c9bd20

Please sign in to comment.