Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if trust zone is deployed in commands that exec into SPIRE server #53

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

markgoddard
Copy link
Contributor

Some cofidectl commands exec into the SPIRE server to query it using the
spire-server CLI. This fails with an error if the SPIRE server has not
yet been deployed.

This change fixes the issue for the following commands:

  • federation list (reports Health as Inactive)
  • workload list (fails with a better error message)
  • workload discover (continues without querying SPIRE server)

Fixes: #52

@markgoddard markgoddard self-assigned this Nov 29, 2024
@markgoddard markgoddard added this to the release-0.7.0 milestone Nov 29, 2024
Some cofidectl commands exec into the SPIRE server to query it using the
spire-server CLI. This fails with an error if the SPIRE server has not
yet been deployed.

This change fixes the issue for the following commands:

- federation list (reports Health as Inactive)
- workload list (fails with a better error message)
- workload discover (continues without querying SPIRE server)

Fixes: #52
@markgoddard markgoddard merged commit 5de2941 into main Dec 2, 2024
5 checks passed
@markgoddard markgoddard deleted the issues/52 branch December 2, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some commands fail if SPIRE server is not running
2 participants