-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Run Port Forwarding Fails with Templating #9554
Comments
Even when running Works:skaffold.yaml
Output skaffold run --port-forward
skaffold diagnose --enable-templating --yaml-only
Does not work
skaffold.env Output: skaffold run --port-forward
skaffold diagnose --enable-templating --yaml-only
Common File./resources/cloud-run-service.yaml
|
Bug Report
Description
The
skaffold.yaml
configuration below is intended to set up port forwarding for a specific Cloud Run service using dynamicUSER
-based naming. The configuration appears to resolve the service name correctly, but the port forwarding still fails with a "service not found" error.Configuration
Environment
Error Logs
Expected Behavior
The portForward directive should map the dynamically generated {{ .USER }}-test service name to the specified local port without errors.
Actual Behavior
Despite correctly resolving the {{ .USER }} placeholder in the logs, the port forwarding fails with a "service not found" error.
The text was updated successfully, but these errors were encountered: