-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: only support custom role priviledge rule setup
- Loading branch information
1 parent
656bcc2
commit 4a62e7a
Showing
5 changed files
with
76 additions
and
68 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
15 changes: 15 additions & 0 deletions
15
pkg/utils/embed/resources/validator/vsphere-spectro-cloud-tags.yaml
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,15 @@ | ||
--- | ||
- name: "Datacenter: k8s-region (ensure that the selected datacenter has a 'k8s-region' tag)" | ||
entityType: "datacenter" | ||
entityName: "" | ||
tag: "k8s-region" | ||
clusterName: "" | ||
clusterScoped: false | ||
ruleType: Spectro Cloud Tags | ||
- name: "Cluster: k8s-zone (ensure that the selected cluster has a 'k8s-zone' tag)" | ||
entityType: "cluster" | ||
entityName: "" | ||
tag: "k8s-zone" | ||
clusterName: "" | ||
clusterScoped: true | ||
ruleType: Spectro Cloud Tags |
8 changes: 8 additions & 0 deletions
8
pkg/utils/embed/resources/validator/vsphere-spectro-entity-privileges.yaml
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,8 @@ | ||
- name: "Read folder: spectro-templates" | ||
entityType: "folder" | ||
entityName: "spectro-templates" | ||
privileges: | ||
- Folder.Create | ||
clusterName: "" | ||
clusterScoped: false | ||
ruleType: Spectro Entity Privileges |
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