vanvalenlab / kiosk-console

DeepCell Kiosk Distribution for Kubernetes on GKE and AWS
https://deepcell-kiosk.readthedocs.io
Other
35 stars 6 forks source link

Credential authentication fails during GKE configuration #468

Closed msschwartz21 closed 2 years ago

msschwartz21 commented 2 years ago

During the configuration of a GKE cluster from the kiosk console, the user is prompted to follow a link to authenticate their google credentials. The link currently leads to the following error message and further deployment of the cluster is blocked.

Screen Shot 2022-10-25 at 4 27 05 PM
willgraf commented 2 years ago

I encountered the same issue and it is coming from the our call to gcloud auth login. The version installed in our base image appears to be:

 ✗ : [none] ~ ⨠ gcloud version
Google Cloud SDK 385.0.0
bq 2.0.74
core 2022.05.06
gsutil 5.10

and looks like the latest version of our base image upgrades it to 401.0.0. I tried updating this and the build-harness to the latest, and was able to authenticate with Google.

Here's a PR with the changes: #469

willgraf commented 2 years ago

Also, I strongly recommend only using the production branch for prod deployments, as there is configuration set up there for DNS/security that is required.