Skip to content

Unable to pull images from Harbor from kubernetes #18688

Answered by chlins
AllardKrings asked this question in Q&A
Discussion options

You must be logged in to vote

Please refer to the microk8s documents to configure the self-signed cert, it should be in the section Using a custom CA of https://microk8s.io/docs/registry-private. It seems your configuration is not completely.

The example from microk8s. The configuration you provided seems to be missing the last line "ca=...".

# /var/snap/microk8s/current/args/certs.d/10.141.241.175:32000/hosts.toml
server = "https://10.141.241.175:32000"

[host."https://10.141.241.175:32000"]
capabilities = ["pull", "resolve"]
ca = "/var/snap/microk8s/current/args/certs.d/10.141.241.175:32000/ca.crt"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by chlins
Comment options

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