-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue using private GCR registry with _json_key #1610
Comments
Hello, I am also having the same issue. I am trying to set up a private Google Container Registry (GCP) with _Json_key. I've had a similar After that I've done
And also when I do
Please help me on this.. |
This is a blocker on my end as well, though I'm utilizing |
Correctly quote auth strings in containerd config. For #1610
I am having the same issue. unable to resolve. I am struggling from the very long time. |
We still get this issue too; the json key is being incorrectly encoded with We've tried |
Have you tried modifying the containderd config.toml template? The documentation is available here: https://rancher.com/docs/k3s/latest/en/advanced/#configuring-containerd You might try modifying the line at https://github.com/rancher/k3s/blob/master/pkg/agent/templates/templates.go#L61 to read
|
Version:
k3s version v1.17.4+k3s1 (3eee8ac)
K3s arguments:
/usr/local/bin/k3s server --no-deploy traefik --flannel-backend=host-gw --no-deploy servicelb
Describe the bug
I am trying to run pods with images from a private GCR registry. The easiest way to do it is to use a service account key as the password. The issue is that the service account key is a JSON blob, containing quote characters
"
.To Reproduce
Expected behavior
It works
Actual behavior
It doesn't work. containerd crashes because
/var/lib/rancher/k3s/agent/etc/containerd/config.toml
gets generated with the password JSON without quoting:The text was updated successfully, but these errors were encountered: