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:
Joao Victor Portal 2024-04-08 17:08:39 -03:00
parent 126e9320bc
commit 84cf91c449
1 changed files with 6 additions and 6 deletions

View File

@ -87,15 +87,15 @@ CLIs and Clients for an admin user with cluster-admin clusterrole.
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: ${MYUSER}-rolebinding
name: ${MYUSER}-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: ${MYUSER}
kind: User
name: ${MYUSER}
EOF
#. Apply the rolebinding.