-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow non-admin users to get install info
This commit modifies the 'install' command to allow non-admin users to retrieve installation information for Pipelines-as-Code. Previously, this command was restricted to admin users only. Now, if the user does not have rights to list all repos in the cluster, the command will attempt to list repos in the current namespace instead. The command's help text has been updated to reflect this change. Signed-off-by: Chmouel Boudjnah <[email protected]>
- Loading branch information
1 parent
4f338ba
commit f80c589
Showing
4 changed files
with
30 additions
and
22 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
Pipelines as Code: | ||
Install Version: testing | ||
Install Namespace: pipelines-as-code | ||
|
||
No repos CR installed on Cluster |