Repository navigation
feat: add Kuadrant operator as optional installer component - #1262
Conversation
Test Results — Kind (dev values)Tested on local Kind cluster with Kuadrant operator pods (
|
| Pod | Status |
|---|---|
kuadrant-operator-controller-manager |
Running |
authorino |
Running |
authorino-operator |
Running |
limitador-limitador |
Running |
limitador-operator-controller-manager |
Running |
dns-operator-controller-manager |
Running |
Kuadrant CR
NAME MTLS AUTHORINO MTLS LIMITADOR AGE
kuadrant false false 3m56s
CRDs installed (16 Kuadrant CRDs)
authpolicies.kuadrant.io, ratelimitpolicies.kuadrant.io, tlspolicies.kuadrant.io, dnspolicies.kuadrant.io, kuadrants.kuadrant.io, authconfigs.authorino.kuadrant.io, limitadors.limitador.kuadrant.io, and 9 others.
MCP Gateway coexistence
MCP Gateway broker-router and controller both running in mcp-system — no conflicts with Kuadrant.
Note on Docker Hub rate limiting
The first installer run failed at SPIRE OIDC Discovery Provider due to Docker Hub 429 rate limiting (nginx-prometheus-exporter:1.4.2, nginx-unprivileged:1.29.1-alpine). This is a pre-existing infra issue unrelated to this PR — both images are already listed in preload-images.txt but preloading was disabled. Re-running the installer succeeded after preloading the images into Kind.
Clean cluster verification resultsRan full Kuadrant pods (all 6 Running)Kuadrant CRCRDs (16 Kuadrant CRDs installed)AuthPolicy, RateLimitPolicy, DNSPolicy, TLSPolicy, OIDCPolicy, TokenRateLimitPolicy, and more. MCP Gateway coexistenceIdempotencySecond installer run completed successfully (exit 0). All pods stable, no restarts. Disabled by default
All test plan items verified ✅ |
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
|
/run-e2e |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
Add Kuadrant operator installation to the Ansible installer for MCP Gateway JWT validation and authorization via Authorino. The operator is installed via Helm from kuadrant.io/helm-charts (v1.4.2) and a Kuadrant CR is created to instantiate Authorino. Kuadrant is disabled by default and enabled in dev, ocp, and ocp-minimal environments where MCP Gateway is active. AuthPolicy configuration and Keycloak realm integration will follow in a separate PR. Closes rossoctl#1138 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
e81ee20 to
cef81e4
Compare
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
|
/run-e2e |
E2E HyperShift Tests PassedCommit: The If you push new commits, the label will be removed and you'll need to comment |
huang195
left a comment
There was a problem hiding this comment.
Clean, focused PR that adds Kuadrant operator as an optional Ansible installer component for MCP Gateway JWT validation. Follows existing patterns well — Helm install with retries, rollout wait, CR creation, all inside a block gated by charts.kuadrant.enabled | default(false). Disabled by default with env-specific overrides for dev, ocp, and ocp-minimal.
Areas reviewed: YAML, Ansible tasks, commit conventions, security, PR format
Commits: 1 commit, signed-off: ✓
CI status: all 22 checks passing
One minor suggestion below.
Assisted-By: Claude (Anthropic AI) [email protected]
Author: Paolo Dettori <[email protected]> Co-authored-by: Hai Huang <[email protected]>
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
Adding MLflow + Phoenix + Kuadrant (upstream rossoctl#1262) exceeds the Kind CI runner's CPU capacity. Keep MLflow (the focus of this PR) and disable Phoenix to stay within resource limits. Phoenix can be re-enabled when CI runner resources are increased. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Kuadrant operator + Authorino (merged upstream rossoctl#1262) consumes too much CPU on Kind CI runners. Disable for Kind — Kuadrant AuthPolicy is OpenShift-specific and not needed for local development/testing. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Install Kuadrant operator (v1.4.2) from kuadrant.io/helm-charts and create a Kuadrant CR to instantiate Authorino for MCP Gateway AuthPolicy JWT validation and authorization. Separate from --with-mcp-gateway (which installs the MCP Gateway broker). Both are included in --with-all. Cleanup script updated to delete the Kuadrant CR and uninstall the operator. Matches rossoctl#1262. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Summary
kuadrant.io/helm-charts, creates aKuadrantCR to instantiate AuthorinoDetails
The Kuadrant/mcp-gateway project uses Kuadrant's
AuthPolicyfor gateway-level JWT validation and coarse-grained authorization. All Kuadrant dependencies (Istio, cert-manager, Gateway API CRDs) are already present in Kagenti.Files changed
deployments/ansible/default_values.yamlcharts.kuadrantsection (disabled by default, v1.4.2)deployments/ansible/roles/kagenti_installer/tasks/main.ymldeployments/envs/dev_values.yamldeployments/envs/ocp_values.yamldeployments/envs/ocp_minimal_values.yamlTask ordering
Follow-up work
AuthPolicy configuration (JWT validation rules, OPA-based tool authorization, token exchange) and Keycloak realm integration will be done in a separate PR, as noted in the issue.
Closes #1138
Test plan
kind-full-test.sh --skip-cluster-destroywith dev values — verifykubectl get pods -n kuadrant-systemshows operator + authorino runningkubectl get kuadrant -n kuadrant-systemreturns the CRkubectl get crd | grep kuadrantshows AuthPolicy, RateLimitPolicy CRDskuadrant-systemnamespace does not exist🤖 Generated with Claude Code