exit.WithCodeT(exit.Failure,"Could not find any GCP credentials. Either run `gcloud auth login` or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your credentials file.")
out.T(out.Notice,"Your GCP credentials will now be mounted into every pod created in the {{.name}} cluster.",out.V{"name":cfg.Name})
out.T(out.Notice,"If you don't want credential mounted into a specific pod, add a label with the `gcp-auth-skip-secret` key to your pod configuration.")
enable,err:=strconv.ParseBool(val)
iferr!=nil{
returnerrors.Wrapf(err,"parsing bool: %s",name)
}
ifenable{
out.T(out.Notice,"Your GCP credentials will now be mounted into every pod created in the {{.name}} cluster.",out.V{"name":cfg.Name})
out.T(out.Notice,"If you don't want your credentials mounted into a specific pod, add a label with the `gcp-auth-skip-secret` key to your pod configuration.")