-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added function to get the csm namespaces from the cluster. (#581)
* function to get the csm namespaces from the cluster * change the function to unexported type for time being * refactor variablename and error message * refactor variablename and error message * fix yaml lint
- Loading branch information
1 parent
1bc6837
commit c1260ff
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
operatorconfig/clientconfig/apexconnectivityclient/v1.0.0/brownfield-onboard.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,32 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: connectivity-client-docker-k8s | ||
namespace: <ExistingNameSpace> | ||
rules: | ||
- apiGroups: [""] | ||
resources: ["secrets"] | ||
verbs: ["list","get", "create", "update", "delete","watch"] | ||
- apiGroups: ["storage.dell.com"] | ||
resources: ["containerstoragemodules"] | ||
verbs: ["create", "delete"] | ||
- apiGroups: [""] | ||
resources: ["configmaps"] | ||
verbs: ["get", "create", "delete", "update"] | ||
- apiGroups: ["mobility.storage.dell.com"] | ||
resources: ["backups"] | ||
verbs: ["create"] | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: connectivity-client-docker-k8s | ||
namespace: <ExistingNameSpace> | ||
subjects: | ||
- kind: ServiceAccount | ||
name: connectivity-client-docker-k8s | ||
namespace: <ClientNameSpace> | ||
roleRef: | ||
kind: Role | ||
name: connectivity-client-docker-k8s | ||
apiGroup: rbac.authorization.k8s.io |
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