-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17004 from juanvallejo/jvallejo/parse-rsrs-arg-wh…
…en-removing-deleted-secret Automatic merge from submit-queue. parse resource name before removing deleted secret Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1457602 Although unlinking deleted secrets from a serviceaccount is currently supported, `oc secret unlink` fails to unlink a deleted secret if its name is specified as `secrets/deleted-secret-name`. This patch parses each secret's name, removing the `secrets/` segment before appending it to a string set of removed secret names. cc @openshift/cli-review
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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