Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@
"component": { "$codeRef": "KuadrantRateLimitPolicyCreatePage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/ns/:ns/authpolicy/name/:name/edit",
"component": { "$codeRef": "KuadrantAuthPolicyCreatePage" }
}
},
{
"type": "console.page/route",
"properties": {
Expand Down Expand Up @@ -489,6 +497,17 @@
"provider": { "$codeRef": "useRateLimitPolicyActions" }
}
},
{
"type": "console.action/resource-provider",
"properties": {
"model": {
"group": "kuadrant.io",
"version": "v1",
"kind": "AuthPolicy"
},
"provider": { "$codeRef": "useAuthPolicyActions" }
}
},
{
"type": "console.action/resource-provider",
"properties": {
Expand Down
19 changes: 17 additions & 2 deletions locales/en/plugin__kuadrant-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"Add a tag to your API product": "Add a tag to your API product",
"Add address": "Add address",
"Add API and Associate route": "Add API and Associate route",
"Add Authentication Rule": "Add Authentication Rule",
"Add certificate reference": "Add certificate reference",
"Add Condition": "Add Condition",
"Add Counter": "Add Counter",
Expand Down Expand Up @@ -90,6 +91,7 @@
"An offline server does not have a `true` status for the `Ready` condition.": "An offline server does not have a `true` status for the `Ready` condition.",
"An online server has a `true` status for the `Ready` condition.": "An online server has a `true` status for the `Ready` condition.",
"An unhealthy gateway has a `false` status for the `Accepted` and/or `Programmed` conditions.": "An unhealthy gateway has a `false` status for the `Accepted` and/or `Programmed` conditions.",
"Anonymous": "Anonymous",
"API Documentation": "API Documentation",
"API Key": "API Key",
"API key approval": "API Key approval",
Expand Down Expand Up @@ -126,7 +128,10 @@
"Attached Policies": "Attached Policies",
"Attached Resources": "Attached Resources",
"Auth": "Auth",
"Auth Type": "Auth Type",
"Authentication": "Authentication",
"Authentication Methods": "Authentication Methods",
"Authentication Rules": "Authentication Rules",
"Authorization servers": "Authorization servers",
"AuthPolicy": "AuthPolicy",
"Auto-generated from product name. Only lowercase, numbers, hyphens, and dots allowed.": "Auto-generated from product name. Only lowercase, numbers, hyphens, and dots allowed.",
Expand All @@ -135,6 +140,7 @@
"Backend": "Backend",
"Backend references": "Backend references",
"Backend Services": "Backend Services",
"Basic": "Basic",
"Cancel": "Cancel",
"CEL expression that must evaluate to true for this limit to apply": "CEL expression that must evaluate to true for this limit to apply",
"CEL expression to match this plan's subscribers": "CEL expression to match this plan's subscribers",
Expand Down Expand Up @@ -174,6 +180,7 @@
"Contact Slack": "Contact Slack",
"Contact Team": "Contact Team",
"Contact URL": "Contact URL",
"Content-Type header value for unauthorized response (optional)": "Content-Type header value for unauthorized response (optional)",
"Controls catalog visibility (Draft = hidden from consumers)": "Controls catalog visibility (Draft = hidden from consumers)",
"Copied": "Copied",
"Copy": "Copy",
Expand Down Expand Up @@ -214,6 +221,7 @@
"Creating and verifying your MCP server registration. Resources will be removed if registration fails.": "Creating and verifying your MCP server registration. Resources will be removed if registration fails.",
"Custom": "Custom",
"Custom expiry date": "Custom expiry date",
"Custom Header Name": "Custom Header Name",
"Custom Limits": "Custom Limits",
"Custom rate limits (limit + time window, e.g. 500 per 1h)": "Custom rate limits (limit + time window, e.g. 500 per 1h)",
"Daily Limit": "Daily Limit",
Expand Down Expand Up @@ -278,6 +286,7 @@
"Edit API Product": "Edit API Product",
"Edit APIProduct": "Edit APIProduct",
"Edit approval mode": "Edit approval mode",
"Edit AuthPolicy": "Edit AuthPolicy",
"Edit description": "Edit description",
"Edit display name": "Edit display name",
"Edit DNS Policy": "Edit DNS Policy",
Expand Down Expand Up @@ -318,7 +327,6 @@
"Error Code": "Error Code",
"Error Codes": "Error Codes",
"Error creating {{policyType}}": "Error creating {{policyType}}",
"Error creating AuthPolicy": "Error creating AuthPolicy",
"Error creating resources": "Error creating resources",
"Error denying API keys": "Error denying API keys",
"Error loading {{kind}}": "Error loading {{kind}}",
Expand Down Expand Up @@ -423,6 +431,7 @@
"Hostname": "Hostname",
"Hostnames": "Hostnames",
"Hostnames for this HTTPRoute": "Hostnames for this HTTPRoute",
"HTTP header name for API key credential (default: X-API-Key)": "HTTP header name for API key credential (default: X-API-Key)",
"HTTP method": "HTTP method",
"HTTP Route Target Reference": "HTTP Route Target Reference",
"HTTPRoute": "HTTPRoute",
Expand All @@ -448,6 +457,7 @@
"Issuer URL": "Issuer URL",
"Issuer: Reference to the issuer for the created certificate. To create an additional Issuer go to": "Issuer: Reference to the issuer for the created certificate. To create an additional Issuer go to",
"It indicates the current operational state of the resource and reflects whether its configuration is applied and functioning correctly.": "It indicates the current operational state of the resource and reflects whether its configuration is applied and functioning correctly.",
"JWT": "JWT",
"kebab dropdown toggle": "kebab dropdown toggle",
"Key": "Key",
"Keys are created without need to be approved.": "Keys are created without need to be approved.",
Expand Down Expand Up @@ -579,7 +589,6 @@
"OIDC": "OIDC",
"OIDCPolicy": "OIDCPolicy",
"OIDCPolicy configures OIDC authentication for your gateway": "OIDCPolicy configures OIDC authentication for your gateway",
"OK": "OK",
"Online": "Online",
"Only HTTPRoute is supported by this Gateway.": "Only HTTPRoute is supported by this Gateway.",
"OpenAPI Spec URL": "OpenAPI Spec URL",
Expand Down Expand Up @@ -639,6 +648,7 @@
"remove": "remove",
"Remove": "Remove",
"Remove address": "Remove address",
"Remove Authentication Rule": "Remove Authentication Rule",
"Remove custom limit": "Remove custom limit",
"Remove label": "Remove label",
"Remove listener": "Remove listener",
Expand Down Expand Up @@ -666,6 +676,7 @@
"Resource is ready": "Resource is ready",
"Resource is running and healthy": "Resource is running and healthy",
"Resource name": "Resource name",
"Response": "Response",
"Response Header Modifier": "Response Header Modifier",
"Restricts the types of Route resources that can attach to this listener (e.g., only HTTPRoute).": "Restricts the types of Route resources that can attach to this listener (e.g., only HTTPRoute).",
"Retired": "Retired",
Expand All @@ -679,6 +690,7 @@
"Route": "Route",
"Route Kind": "Route Kind",
"Rule ID": "Rule ID",
"Rule Name": "Rule Name",
"Rules": "Rules",
"Rules define how to route HTTP requests to backend services": "Rules define how to route HTTP requests to backend services",
"Rules table": "Rules table",
Expand Down Expand Up @@ -839,10 +851,12 @@
"Types": "Types",
"Unable to determine current user — approve and reject actions are disabled": "Unable to determine current user — approve and reject actions are disabled",
"Unable to fetch user information. Please try refreshing the page.": "Unable to fetch user information. Please try refreshing the page.",
"Unauthorized response body (optional, JSON)": "Unauthorized response body (optional, JSON)",
"Unhealthy": "Unhealthy",
"Unhealthy Gateways": "Unhealthy Gateways",
"Unique identifier for this rate limit": "Unique identifier for this rate limit",
"Unique identifier for this rule": "Unique identifier for this rule",
"Unique name of the AuthPolicy": "Unique name of the AuthPolicy",
"Unique name of the DNS Policy": "Unique name of the DNS Policy",
"Unique name of the HTTPRoute": "Unique name of the HTTPRoute",
"Unique name of the OIDC Policy": "Unique name of the OIDC Policy",
Expand Down Expand Up @@ -873,6 +887,7 @@
"When predicate": "When predicate",
"when: {{predicates}}": "when: {{predicates}}",
"Window": "Window",
"X-API-Key": "X-API-Key",
"YAML": "YAML",
"YAML View": "YAML View",
"Yearly Limit": "Yearly Limit",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"useAPIProductActions": "./components/apiproduct/useAPIProductActions",
"useDNSPolicyActions": "./components/dnspolicy/useDNSPolicyActions",
"useRateLimitPolicyActions": "./components/ratelimitpolicy/useRateLimitPolicyActions",
"useAuthPolicyActions": "./components/authpolicy/useAuthPolicyActions",
"useTLSPolicyActions": "./components/tlspolicy/useTLSPolicyActions",
"useOIDCPolicyActions": "./components/oidcpolicy/useOIDCPolicyActions",
"useTokenRateLimitPolicyActions": "./components/tokenratelimitpolicy/useTokenRateLimitPolicyActions",
Expand Down
1 change: 0 additions & 1 deletion src/components/DropdownWithKebab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const DropdownWithKebab: React.FC<DropdownWithKebabProps> = ({ obj, onDeleteClic
}/${obj.metadata.name}/edit`,
});
} else if (
obj.kind === 'AuthPolicy' ||
obj.kind === 'MCPGatewayExtension' ||
obj.kind === 'MCPServerRegistration' ||
obj.kind === 'ReferenceGrant'
Expand Down
Loading
Loading