You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The skaffold yaml file for Cloud Run requires setting of the projectid.
Currently when using solutions-builder for CloudRun configuration in the generated skaffold.yaml is hardcoded. When you make this value your-project-id the sb set project-id command would not replace the value.
Therefore you cannot have a template that everyone can deploy into their own GCP environment.
The only workaround is to use manual command instead of the sb deploy:
skaffold run -p default-deploy -n default --default-repo="gcr.io/$PROJECT_ID" --cloud-run-project=$PROJECT_ID --cloud-run-location=us-central1
The text was updated successfully, but these errors were encountered:
evekhm
changed the title
CloudRun configuration is not properly supported for deployment
CloudRun configuration for skaffold requires projectid and therefore cannot be generic for deployment
Mar 27, 2024
The skaffold yaml file for Cloud Run requires setting of the projectid.
Currently when using solutions-builder for CloudRun configuration in the generated skaffold.yaml is hardcoded. When you make this value
your-project-id
thesb set project-id
command would not replace the value.Therefore you cannot have a template that everyone can deploy into their own GCP environment.
The only workaround is to use manual command instead of the
sb deploy
:skaffold run -p default-deploy -n default --default-repo="gcr.io/$PROJECT_ID" --cloud-run-project=$PROJECT_ID --cloud-run-location=us-central1
The text was updated successfully, but these errors were encountered: