Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCP Cloud code plugin in intellij "Failed to enable GCP auth addon"

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?

like image 860
Max Kilzieh Avatar asked Dec 04 '25 13:12

Max Kilzieh


1 Answers

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

like image 162
Max Kilzieh Avatar answered Dec 08 '25 23:12

Max Kilzieh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!