diff options
author | danielgruesso <dgruesso@gitlab.com> | 2018-11-09 12:00:50 -0500 |
---|---|---|
committer | danielgruesso <dgruesso@gitlab.com> | 2018-11-09 12:00:50 -0500 |
commit | 9383f09b2e902a99908ed8063a6d3927e4e23855 (patch) | |
tree | f941f738cb972bc27d70619a5b51cd824e440e52 | |
parent | b71f441fdd6136352810e617e220a2457bd6e304 (diff) | |
download | gitlab-ce-docs-eks-updates.tar.gz |
update codeblock formattingdocs-eks-updates
-rw-r--r-- | doc/user/project/clusters/eks_and_gitlab/index.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/user/project/clusters/eks_and_gitlab/index.md b/doc/user/project/clusters/eks_and_gitlab/index.md index 51909922128..3edf79803c8 100644 --- a/doc/user/project/clusters/eks_and_gitlab/index.md +++ b/doc/user/project/clusters/eks_and_gitlab/index.md @@ -54,13 +54,13 @@ A few details from the EKS cluster will be required to connect it to GitLab. - Apply the service account to your cluster: - ```yaml + ```bash kubectl apply -f eks-admin-service-account.yaml ``` Output: - ```yaml + ```bash serviceaccount "eks-admin" created ``` @@ -83,19 +83,19 @@ A few details from the EKS cluster will be required to connect it to GitLab. - Apply the cluster role binding to your cluster: - ```yaml + ```bash kubectl apply -f eks-admin-cluster-role-binding.yaml ``` Output: - ```yaml + ```bash clusterrolebinding "eks-admin" created ``` - Retrieve the token for the `eks-admin` service account. Copy the `<authentication_token>` value from the output. - ```yaml + ```bash kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}') ``` @@ -144,7 +144,7 @@ When connecting a cluster via GitLab integration, you may specify whether the cl To effectively disable RBAC, global permissions can be applied granting full access: -```yaml +```bash kubectl create clusterrolebinding permissive-binding \ --clusterrole=cluster-admin \ --user=admin \ |