Commit a244fa64 authored by Thiago Presa's avatar Thiago Presa Committed by Achilleas Pipinellis

Remove leading whitespaces from serviceaccount/clusterrolebinding multi-resource YAML

parent 65c77344
...@@ -124,26 +124,26 @@ To add an existing Kubernetes cluster to your project: ...@@ -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: 1. Create a file called `gitlab-admin-service-account.yaml` with contents:
```yaml ```yaml
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: gitlab-admin name: gitlab-admin
namespace: kube-system namespace: kube-system
--- ---
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
name: gitlab-admin name: gitlab-admin
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
name: cluster-admin name: cluster-admin
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: gitlab-admin name: gitlab-admin
namespace: kube-system namespace: kube-system
``` ```
1. Apply the service account and cluster role binding to your cluster: 1. Apply the service account and cluster role binding to your cluster:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment