We require the user to create a new token for connection but up CLI is already logged in to use this command, so we can just create a new one unless they provide it via --token.
This change also accommodates the recent changes in MCP connector that dumb down the logic here to make it easier to install MCP Connector using Helm so that we can better integrate with ArgoCD, provider-helm and others by constructing the kubeconfig as part of the Helm chart rather than expecting a Secret to contain it.
Description of your changes
We require the user to create a new token for connection but
up
CLI is already logged in to use this command, so we can just create a new one unless they provide it via--token
.This change also accommodates the recent changes in MCP connector that dumb down the logic here to make it easier to install MCP Connector using Helm so that we can better integrate with ArgoCD, provider-helm and others by constructing the kubeconfig as part of the Helm chart rather than expecting a
Secret
to contain it.In addition,
bind
command has been removed. By default, MCP Connector binds all XRDs automatically https://github.com/upbound/mcp-connector/issues/32 . Users can disable it via a Helm flag.All that reduced the whole connection flow to a single command:
Fixes https://github.com/upbound/mcp-connector/issues/38
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested
Manually tested.