diff options
author | danielgruesso <dgruesso@gitlab.com> | 2018-11-15 20:17:13 -0500 |
---|---|---|
committer | danielgruesso <dgruesso@gitlab.com> | 2018-11-15 20:17:13 -0500 |
commit | d76af4b1e49c5aaee26c22f4c0956c5039095452 (patch) | |
tree | 049b005820fc545841f4379187af97e683d6dbca | |
parent | ae347bf0b98db56c9ebbe8e2c7bdb8f099926f70 (diff) | |
download | gitlab-ce-d76af4b1e49c5aaee26c22f4c0956c5039095452.tar.gz |
more indentation fixesdocs-eks-update
-rw-r--r-- | doc/user/project/clusters/eks_and_gitlab/index.md | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/user/project/clusters/eks_and_gitlab/index.md b/doc/user/project/clusters/eks_and_gitlab/index.md index fcfc5ae6ccb..ea2e7013d4a 100644 --- a/doc/user/project/clusters/eks_and_gitlab/index.md +++ b/doc/user/project/clusters/eks_and_gitlab/index.md @@ -66,7 +66,7 @@ A few details from the EKS cluster will be required to connect it to GitLab. 2.3. Create a file called `eks-admin-cluster-role-binding.yaml` with the text below: - ```yaml + ```yaml apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: @@ -79,13 +79,13 @@ A few details from the EKS cluster will be required to connect it to GitLab. - kind: ServiceAccount name: eks-admin namespace: kube-system - ``` + ``` 2.4. Apply the cluster role binding to your cluster: - ```bash + ```bash kubectl apply -f eks-admin-cluster-role-binding.yaml - ``` + ``` Output: @@ -95,26 +95,26 @@ A few details from the EKS cluster will be required to connect it to GitLab. 2.5. Retrieve the token for the `eks-admin` service account. Copy the `<authentication_token>` value from the output. - ```bash + ```bash kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}') - ``` + ``` Output: ```yaml - Name: eks-admin-token-b5zv4 - Namespace: kube-system - Labels: <none> - Annotations: kubernetes.io/service-account.name=eks-admin - kubernetes.io/service-account.uid=bcfe66ac-39be-11e8-97e8-026dce96b6e8 - - Type: kubernetes.io/service-account-token - - Data - ==== - ca.crt: 1025 bytes - namespace: 11 bytes - token: <authentication_token> + Name: eks-admin-token-b5zv4 + Namespace: kube-system + Labels: <none> + Annotations: kubernetes.io/service-account.name=eks-admin + kubernetes.io/service-account.uid=bcfe66ac-39be-11e8-97e8-026dce96b6e8 + + Type: kubernetes.io/service-account-token + + Data + ==== + ca.crt: 1025 bytes + namespace: 11 bytes + token: <authentication_token> ``` 1. The API server endpoint is also required, so GitLab can connect to the cluster. This is displayed on the AWS EKS console, when viewing the EKS cluster details. |