Fix minor indentation problem in K8s config
The Kubernetes configuration that creates the ClusterRoleBinding "admin-user-rolebinding" in the page "Configure Container-backed Remote CLIs and Clients" is invalid because the indentation is wrong. This commit fixes this. Test Plan: PASS: Successfully apply the ClusterRoleBinding "admin-user-rolebinding" in a StarlingX deploy and verify that no error is thrown. Closes-Bug: 2060582 Change-Id: I13f2e26de90cf98cb854c7bbaefbf43664b604b1 Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
This commit is contained in:
parent
126e9320bc
commit
84cf91c449
@ -87,15 +87,15 @@ CLIs and Clients for an admin user with cluster-admin clusterrole.
|
|||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: ${MYUSER}-rolebinding
|
name: ${MYUSER}-rolebinding
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
subjects:
|
subjects:
|
||||||
- apiGroup: rbac.authorization.k8s.io
|
- apiGroup: rbac.authorization.k8s.io
|
||||||
kind: User
|
kind: User
|
||||||
name: ${MYUSER}
|
name: ${MYUSER}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#. Apply the rolebinding.
|
#. Apply the rolebinding.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user