docker-gitlab icon indicating copy to clipboard operation
docker-gitlab copied to clipboard

Enable KAS

Open jonwilliams84 opened this issue 4 years ago • 4 comments

I am trying to connect a GitLab agent in my K8s cluster to my instance, but it appears that KAS is not enabled.

image

How can this be enabled?

jonwilliams84 avatar Jan 18 '22 21:01 jonwilliams84

At least now (v14.6.3), you cannot. We have to add configuration support for GitLab KAS (set necessary variables to /assets/runtime/config/gitlabhq/gitlab.yml and /assets/runtime/env-defaults, add description to README.md) . Pull request is welcome :)

kkimurak avatar Jan 27 '22 10:01 kkimurak

Is it safe to update 14->15? How can I enable the certificate_based_clusters feature flag?

dimm0 avatar Oct 22 '22 18:10 dimm0

Worked fine :)

su - git && cd gitlab
bundle exec rails console -e production

Feature.enable(:certificate_based_clusters)

dimm0 avatar Nov 23 '22 02:11 dimm0

As #2917 merged, sameersbn/gitlab:16.10.1 or later contains the feature. You may be set GITLAB_FEATURE_FLAGS_DISABLE_TARGETS=certificate_based_clusters.

kkimurak avatar Mar 29 '24 08:03 kkimurak