cli: allow user to be passed into to debug zip
command
#111120
Labels
A-cli-admin
CLI commands that pertain to controlling and configuring nodes
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Addendum
The RPC on the server-side requires that the certificate used to connect is either for
root
ornode
. So the CLI change should not be made unless that changes. See:cockroach/pkg/rpc/auth.go
Lines 315 to 332 in 0a4cbd7
In order for this to be done, something like #51454 should be completed first. That issue involves re-implementing every endpoint used by debug zip in a different way, which is either a cross team project, or something that would be under the Server team.
cockroach debug zip
only works for the root user right now. If you try to use a different user, it shows an error like:The command should not ignore the provided user. It should also allow the
--user
flag to work.Jira issue: CRDB-31775
Epic CC-25593
The text was updated successfully, but these errors were encountered: