From 84cf91c44937aa05328bc02c7748ca772fc9d7e3 Mon Sep 17 00:00:00 2001 From: Joao Victor Portal Date: Mon, 8 Apr 2024 17:08:39 -0300 Subject: [PATCH] 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 --- ...gure-container-backed-remote-clis-and-clients.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst b/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst index 1e6db275a..0ff48ffc3 100644 --- a/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst +++ b/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst @@ -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.