upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

Support Spaces profiles in `up ctp` commands #374

Closed branden closed 4 months ago

branden commented 11 months ago

Support Spaces profiles introduced by #373 in up ctp commands. Affected commands and their changes are listed below.

configuration, provider, pull-secret

These commands are not supported with Spaces. If the default profile is for Spaces, fail with an error.

create, delete, get, list, connect, kubeconfig

If the default profile is for Saas, there's no change to behavior.

If the default profile is for Spaces, execute the equivalent operation on a ControlPlane resource on the Spaces cluster's apiserver. CRUD operations should translate directly. connect will need to deploy mcp-connector configured to connect to a control plane in the Space. kubeconfig will need to retrieve the control plane's kubeconfig from the Spaces apiserver.

RedbackThomson commented 4 months ago

Closed as the introduction of spaces into cloud has fundamentally changed up and this is no longer applicable. Profiles are no longer required for spaces in favour of using Kubeconfigs