KSP-CKAN / NetKAN-Infra

NetKAN Infrastructure Repo
MIT License
3 stars 6 forks source link

Add GitLab token secret #276

Open HebaruSan opened 2 years ago

HebaruSan commented 2 years ago

Motivation

In KSP-CKAN/CKAN#3661 we added the ability to index mods hosted on GitLab. This included the ability to provide a GitLab authentication token from the command line, but the Inflator isn't using this capability yet. We should add that eventually for completeness, see https://github.com/KSP-CKAN/CKAN/pull/3661#discussion_r966544529.

Changes

Now if the container configuration has a GL_Token secret, it will be provided to the inflator. KSP-CKAN/CKAN#3665 will handle passing the env var to the command line.