defenseunicorns / defenseunicorns/uds-cli

uds remove does not indicate error when not connected to cluster

Open
#1,135 0 comments 1 reaction 0 assignees View on GitHub
possible-bug
Dominant language
Go
Stars
54
Forks
21
Avg merge
2d 15h
Merged PRs (30d)
45

Description

### Environment

Device and OS: Darwin
App version: v0.26.2
Kubernetes distro being used: k3d
Other:

### Steps to reproduce

1. Run a `uds remove` command when not connected to a cluster/without a kubeconfig

### Expected result
I would have expected the CLI to return an error related to not being able to connect to the cluster.

### Actual Result
```bash
uds remove ./bundles/test/uds-bundle-uds-standard-arm64-0.38.0.tar.zst --confirm
NOTE Saving log file to
/var/folders/bx/sdzj91kn1v92m9b1f_m5swbh0000gn/T/zarf-2025-04-18-12-44-26-3859313299.log

NOTE Saving log file to
/var/folders/bx/sdzj91kn1v92m9b1f_m5swbh0000gn/T/uds-2025-04-18-12-44-26-3678437252.log

WARNING Skipping removal of core. Package not deployed
```

### Severity/Priority
Low

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.