3

While trying to locally run the "java cloud run hello word sample" Cloud Run: Run Locally

I keep getting

Enabling GCP auth addon...

Failed to enable GCP auth addon. Deployment will continue but GCP credentials will not be added to minikube. Please ensure you have up to date application default credentials (ADC) by running gcloud auth login --update-adc

Things that I have tried and didn't solve the problem

  • run gcloud auth login --update-adc
  • use a different service account
  • not provide a service account
  • provide the environment variable GOOGLE_APPLICATION_CREDENTIALS

Current configuration

What am I missing?

Max Kilzieh
  • 161
  • 1
  • 8
  • Hi Max, can you please open an issue at https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues and include your IDE version, Cloud Code version, and OS? Thanks. – Matthew Jun 28 '21 at 20:01
  • Thank you, Matthew, for your suggestion https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues/2949 – Max Kilzieh Jun 28 '21 at 22:51

1 Answers1

6

It appears to be a bug with minikube

The workaround:

  1. Install minikube https://minikube.sigs.k8s.io/docs/start/
  2. In your terminal, run minikube delete --all
  3. Delete the existing minikube images from Docker

The original workaround and issue details can be found below:

https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues/2949#issuecomment-870120602

Max Kilzieh
  • 161
  • 1
  • 8
  • Please could you add to the post the workaround, I guess it will add value to your answer: 1. minikube delete --all 2. Delete the existing minikube images from docker – Pit Jun 29 '21 at 10:40