Add --output/-o to secrets-encrypt status #2681
Merged
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.
Proposed Changes
Add
secrets-encrypt status -o/--output
.Given that the k3s docs were not updated for this change (and I couldn't find any open associated issues or PRs), I don't believe so
Types of Changes
Add cli flag
Verification
Can be verified the same was as it was for k3s: k3s-io/k3s#5138 (comment). I verified it myself by provisioning a cluster with rke2 version v1.23.4+rke2r2:
Linked Issues
#2680
Further Comments
I'd considered exposing the flag from k3s in the event that k3s supports different formats at some point, but the overhead for creating PRs for rke2 in that case to update the help text would be extremely low anyways.