summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Presa <tpresa@gitlab.com>2019-04-18 19:31:05 +0000
committerThiago Presa <tpresa@gitlab.com>2019-04-18 19:31:05 +0000
commit765db98bc7ff64831c66e3fbf9dc592903f56e78 (patch)
tree00e55e51dd83eb71bc36ce8ebbe1aa0e2bb4e30a
parent9cb136bd189917a541d0575d21536e5f9f4647dd (diff)
downloadgitlab-ce-tpresa-fix-whitespace-in-cluster-docs.tar.gz
Remove leading whitespaces from serviceaccount/clusterrolebinding multi-resource YAMLtpresa-fix-whitespace-in-cluster-docs
-rw-r--r--doc/user/project/clusters/index.md40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md
index ccd60b9761f..0db95e5a64c 100644
--- a/doc/user/project/clusters/index.md
+++ b/doc/user/project/clusters/index.md
@@ -124,26 +124,26 @@ To add an existing Kubernetes cluster to your project:
1. Create a file called `gitlab-admin-service-account.yaml` with contents:
- ```yaml
- apiVersion: v1
- kind: ServiceAccount
- metadata:
- name: gitlab-admin
- namespace: kube-system
- ---
- apiVersion: rbac.authorization.k8s.io/v1beta1
- kind: ClusterRoleBinding
- metadata:
- name: gitlab-admin
- roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: cluster-admin
- subjects:
- - kind: ServiceAccount
- name: gitlab-admin
- namespace: kube-system
- ```
+ ```yaml
+ apiVersion: v1
+ kind: ServiceAccount
+ metadata:
+ name: gitlab-admin
+ namespace: kube-system
+ ---
+ apiVersion: rbac.authorization.k8s.io/v1beta1
+ kind: ClusterRoleBinding
+ metadata:
+ name: gitlab-admin
+ roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: cluster-admin
+ subjects:
+ - kind: ServiceAccount
+ name: gitlab-admin
+ namespace: kube-system
+ ```
1. Apply the service account and cluster role binding to your cluster: