-
Notifications
You must be signed in to change notification settings - Fork 14
DnsException: Login Required #77
Comments
That's a Google Cloud error and it seems a bit odd if you've deployed it to a GCP-environment. GCP usually provides the metadata service which lets you fetch the service account token for the instance. If your instance does not have DNS management permissions I'd expect it to error with "Permission denied [for the service account of your instance]" rather than "Login required" which implies that you're not logged in at all. Regardless, if your instance does not have the required permissions for Cloud DNS you can create a service account and make a private key for it. Setting the environment variable |
I did create a service account for this, and gave it the correct permissions. Since this is a test project/cluster I actually gave it Editor permissions for the whole project. |
Hmm, and you mounted the key JSON into the container and set the environment variable correctly? |
Yes. Here's that piece of the config:
I created the secret as so:
Where I also explicitly added DNS Administrator to the service account, but no go. |
Oh, the path has to point at the file itself, i.e. |
Ah I see. Thanks that fixed it! |
Got this error after deploying a controller to Google Cloud. Is this a Google Cloud error or a Let's Encrypt error?
The text was updated successfully, but these errors were encountered: