# Authorized Cluster Endpoint missing - regression?

**URL:** <https://forums.suse.com/t/authorized-cluster-endpoint-missing-regression/15177>\
**Category:** SUSE Rancher Prime\
**Created:** [August 29, 2019, 3:48pm UTC](https://forums.suse.com/t/authorized-cluster-endpoint-missing-regression/15177 "2019-08-29T15:48:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SkekTek](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SkekTek](https://forums.suse.com/u/SkekTek)\
**Post date:** [August 29, 2019, 3:48pm UTC](https://forums.suse.com/t/authorized-cluster-endpoint-missing-regression/15177/1 "2019-08-29T15:48:32Z")

</div>

I have a Rancher cluster (2.2.1) that has the ACE enabled and working as expected:

- Via the API I can see that localClusterAuthEndpoint is enabled.
- Both the Rancher end point and the ACE exist in the Kubeconfig file.
- Gitlab can authenticate with the provided token/certificate and install Helm, runners, etc.

When I build another cluster via RKE (0.2.8) and Rancher stable (2.2.8) the ACE is missing:

- Via the API I see that localClusterAuthEndpoint is NOT enabled.
- The ACE endpoint is missing from the Kubeconfig file.

The [Rancher documentation](https://rancher.com/blog/2019/connecting-gitlab-autodevops-authorized-cluster-endpoints/) states that the ACE should be enabled by default. Regardless I’ve manually enabled it via the RKE cluster.yml and it’s still not enabled in Rancher.

---

<div class="post-metadata">

**Author:** ![SkekTek](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SkekTek](https://forums.suse.com/u/SkekTek)\
**Post date:** [August 30, 2019, 6:27pm UTC](https://forums.suse.com/t/authorized-cluster-endpoint-missing-regression/15177/2 "2019-08-30T18:27:57Z")

</div>

There is definitely something lost in translation from the RKE built Kubernetes cluster and the Rancher UI installation.

In addition to the missing ACE the cluster name and etcd snapshot settings aren’t being picked up via Rancher even though they were created by RKE (which I have varified within the cluster, the RKE kubeconfig and the rkestate files).

My install steps are straight forward:

> nodes:
> 
> - address: xxx.xxx.xxx.1  
> user: cowman  
> role: [controlplane,worker,etcd]
> - address: xxx.xxx.xxx.2  
> user: cowman  
> role: [controlplane,worker,etcd]
> - address: xxx.xxx.xxx.3  
> user: cowman  
> role: [controlplane,worker,etcd]
> 
> services:  
> etcd:  
> snapshot: true  
> creation: 6h  
> retention: 24h
> 
> cluster\_name: mycluster

kubectl -n kube-system create serviceaccount tiller

kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller

helm init --service-account tiller

helm repo add rancher-stable [https://releases.rancher.com/server-charts/stable](https://releases.rancher.com/server-charts/stable)

helm install stable/cert-manager --name cert-manager --namespace kube-system --version v0.5.2

helm install rancher-stable/rancher --name rancher --namespace cattle-system --set [hostname=mycluster.com](http://hostname=mycluster.com)

---

<div class="post-metadata">

**Author:** ![SkekTek](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SkekTek](https://forums.suse.com/u/SkekTek)\
**Post date:** [September 9, 2019, 12:36pm UTC](https://forums.suse.com/t/authorized-cluster-endpoint-missing-regression/15177/3 "2019-09-09T12:36:51Z")

</div>

I’ve been able to reproduce this issue in multiple environments with CentOS 7.

I’ve created an issue here:

> <https://github.com/rancher/rancher/issues/22604>
