Skip to content

How to add private container registries WITHOUT disabling TLS and WITHOUT auth credentials. #10981

Closed Answered by zombiemaker
zombiemaker asked this question in Q&A
Discussion options

You must be logged in to vote

@smira : Thanks for your response!

The "insecureSkipVerify: false" was a test to see if I can trick the process for generating containerd configs to generate a configuration for a registry host that uses server TLS without user authentication. Otherwise, the Talos process for generating containerd config would not generate one.

This was before I learned that this can be done with an entry in the registries.mirrors section of the machine config. I was confused by the "mirrors" parameter name because this registry is not a mirror of another registry. I did not realize that the machine.registries.mirrors is for both mirrored AND non-mirrored registries.

The machine config is now:

machine:
  …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zombiemaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants