Jump to content

Which authentication method do you use for Kubernetes Deployments from a private Registry ?

docker config.json ?

or create a secret from credentials in the chart ?

 

Just wondering, since Ive been using simple config.json, as to create the config.json with base64, set it as environment variable in CI,

use it to add it to the config.json of the runner in the gitlab-ci.yaml file, and deploy the project to the namespace with helm(of course add the needed yaml files into the templates)

 

Is there a more elegant way of doing that ?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×