-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
narrow down the list of permissions for harbor robot account
- Loading branch information
1 parent
65cf734
commit b1121ca
Showing
4 changed files
with
20 additions
and
249 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
91 changes: 0 additions & 91 deletions
91
cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/testdata/harbor-create-account.json
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
cmd/kubeapps-apis/plugins/fluxv2/packages/v1alpha1/testdata/harbor-create-robot-account.json
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "$NAME", | ||
"duration": 30, | ||
"description": null, | ||
"disable": false, | ||
"level": "system", | ||
"permissions": [ | ||
{ | ||
"kind": "project", | ||
"namespace": "$PROJECT_NAME", | ||
"access": [ | ||
{ | ||
"resource": "repository", | ||
"action": "list" | ||
} | ||
] | ||
} | ||
] | ||
} |
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