Skip to content

k3s/k3d authenticate to secure registry 401 UNAUTHORIZED #3830

Discussion options

You must be logged in to vote

Not sure which of my many changes fixed the issue, but i got it working with the certs. These are some differences:

I switched to using the --config flag and specified all of my volumes and ports in that config file
My mounts previously had nodeFilter server[0] where I now have server[*] and agent[*] (configured for 1 server no agents)
The loadbalancer is currently disabled and wasnt previously
traefik is also disabled and wasnt previously
I have mounted my hosts /etc/resolv.conf onto /etc/resolv.conf in k3d
No longer mounting a "registries.yaml" just specified in the config file

Thanks for the responses

Replies: 3 comments 20 replies

Comment options

You must be logged in to vote
4 replies
@brandond
Comment options

@the-scott-hand
Comment options

@brandond
Comment options

@the-scott-hand
Comment options

Comment options

You must be logged in to vote
14 replies
@the-scott-hand
Comment options

@the-scott-hand
Comment options

@the-scott-hand
Comment options

@iwilltry42
Comment options

@the-scott-hand
Comment options

Comment options

You must be logged in to vote
2 replies
@brandond
Comment options

@the-scott-hand
Comment options

Answer selected by the-scott-hand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants