Repository navigation
feat!: remove legacy cluster instance management commands - #290
Merged
lucamarchiori merged 1 commit intoApr 14, 2026
Merged
lucamarchiori merged 1 commit into
lucamarchiori merged 1 commit into
Conversation
lucamarchiori
force-pushed
the
remove-legacy-instance-commands
branch
from
April 9, 2026 14:02
7ad50ef to
9def010
Compare
BREAKING CHANGE: The `astartectl cluster show`, `astartectl cluster instances fetch-housekeeping-key`, and `astartectl cluster instances get-cluster-config` commands have been permanently removed. Users must rely on standard Kubernetes tools (e.g., `kubectl`) to interact with the cluster. These commands were heavily tied to directly querying the Kubernetes API to manage the Astarte Operator and instances, which is no longer aligned with the scope of `astartectl` (see previous commits). ### Changes Included * **Removed Commands**: * `astartectl cluster show`: Removed the command used to show the existing Astarte Operator and Kubernetes cluster state. * `astartectl cluster instances fetch-housekeeping-key`: Removed the command used to fetch the Housekeeping private key directly from a Kubernetes instance. * `astartectl cluster instances get-cluster-config`: Removed the command utilized to fetch cluster configurations and update local Astarte contexts via the Kubernetes API. * **Removed Utilities**: Deleted `cmd/cluster/utils.go`, removing old Kubernetes API lookup helpers that are not used anymore. * **Cleaned Dependencies**: Dropped no longer needed dependencies from `go.mod` and `go.sum`. * **Update changelog**: Changelog is updated with breaking changes. Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
lucamarchiori
force-pushed
the
remove-legacy-instance-commands
branch
from
April 9, 2026 14:04
9def010 to
fbfc918
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: The
astartectl cluster show,astartectl cluster instances fetch-housekeeping-key, andastartectl cluster instances get-cluster-configcommands have been permanently removed. Users must rely on standard Kubernetes tools (e.g.,kubectl) to interact with the cluster.These commands were heavily tied to directly querying the Kubernetes API to manage the Astarte Operator and instances, which is no longer aligned with the scope of
astartectl(see previous commits).Changes Included
astartectl cluster show: Removed the command used to show the existing Astarte Operator and Kubernetes cluster state.astartectl cluster instances fetch-housekeeping-key: Removed the command used to fetch the Housekeeping private key directly from a Kubernetes instance.astartectl cluster instances get-cluster-config: Removed the command utilized to fetch cluster configurations and update local Astarte contexts via the Kubernetes API.cmd/cluster/utils.go, removing old Kubernetes API lookup helpers that are not used anymore.go.modandgo.sum.