File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,34 @@ spec:
116
116
description : Feature plugin operations
117
117
` ` `
118
118
119
+ For Tanzu CLI to read these ` CLIPlugin` resources available on the kubernetes
120
+ cluster `get` and `list` RBAC permission needs to be given to all the users.
121
+ To do that please configure below RBAC rules on your kubernetes cluster.
122
+
123
+ ` ` ` yaml
124
+ apiVersion: rbac.authorization.k8s.io/v1
125
+ kind: ClusterRole
126
+ metadata:
127
+ name: read-cli-plugins
128
+ rules:
129
+ - apiGroups: ["cli.tanzu.vmware.com"]
130
+ resources: ["cliplugins"]
131
+ verbs: ["get", "list"]
132
+ ---
133
+ apiVersion: rbac.authorization.k8s.io/v1
134
+ kind: ClusterRoleBinding
135
+ metadata:
136
+ name: read-cli-plugins-rolebinding
137
+ subjects:
138
+ - kind: Group
139
+ name: system:authenticated
140
+ apiGroup: rbac.authorization.k8s.io
141
+ roleRef:
142
+ kind: ClusterRole
143
+ name: read-cli-plugins
144
+ apiGroup: rbac.authorization.k8s.io
145
+ ` ` `
146
+
119
147
# ## When the context is of type Mission-Control
120
148
121
149
When the context is of type mission control, the Tanzu CLI uses a REST discovery to fetch the
You can’t perform that action at this time.
0 commit comments