-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the option to allow users to see cluster network configuration an…
…d create NaD (#8883)
- Loading branch information
1 parent
a723098
commit f2d9dee
Showing
8 changed files
with
96 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
...ad_virt_roadshow_multi_user/files/clusterrole-list-nodenetworkconfigurationresources.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,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: list-nodenetworkconfigurationresources | ||
rules: | ||
- apiGroups: | ||
- nmstate.io | ||
resources: | ||
- nodenetworkconfigurationenactments | ||
- nodenetworkconfigurationpolicies | ||
verbs: | ||
- list |
11 changes: 11 additions & 0 deletions
11
...oads/ocp4_workload_virt_roadshow_multi_user/files/clusterrole-list-nodenetworkstates.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,11 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: list-nodenetworkstates | ||
rules: | ||
- apiGroups: | ||
- nmstate.io | ||
resources: | ||
- nodenetworkstates | ||
verbs: | ||
- list |
16 changes: 16 additions & 0 deletions
16
...ds/ocp4_workload_virt_roadshow_multi_user/files/clusterrole-network-attachment-admin.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,16 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: network-attachment-admin | ||
rules: | ||
- apiGroups: | ||
- "k8s.cni.cncf.io" | ||
resources: | ||
- network-attachment-definitions | ||
verbs: | ||
- create | ||
- get | ||
- list | ||
- watch | ||
- delete | ||
- update |
12 changes: 12 additions & 0 deletions
12
...4_workload_virt_roadshow_multi_user/files/clusterrolebiding-network-attachment-admin.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,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: network-attachment-admin-binding | ||
subjects: | ||
- kind: Group | ||
apiGroup: rbac.authorization.k8s.io | ||
name: 'system:authenticated' | ||
roleRef: | ||
kind: ClusterRole | ||
name: network-attachment-admin | ||
apiGroup: rbac.authorization.k8s.io |
12 changes: 12 additions & 0 deletions
12
..._roadshow_multi_user/files/clusterrolebinding-list-nodenetworkconfigurationresources.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,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: list-nodenetworkconfigurationresources-binding | ||
subjects: | ||
- kind: Group | ||
apiGroup: rbac.authorization.k8s.io | ||
name: 'system:authenticated' | ||
roleRef: | ||
kind: ClusterRole | ||
name: list-nodenetworkconfigurationresources | ||
apiGroup: rbac.authorization.k8s.io |
13 changes: 13 additions & 0 deletions
13
...p4_workload_virt_roadshow_multi_user/files/clusterrolebinding-list-nodenetworkstates.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,13 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: list-nodenetworkstates-binding | ||
namespace: default | ||
subjects: | ||
- kind: Group | ||
apiGroup: rbac.authorization.k8s.io | ||
name: 'system:authenticated' | ||
roleRef: | ||
kind: ClusterRole | ||
name: list-nodenetworkstates | ||
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