Open hypnoglow opened 4 years ago
@hypnoglow thanks - this is a good feature request. I've tagged it and we'll triage internally.
I think another setting in the UI like Working Directory
(or something similar) would help here.
Kamino cloned this issue to GoogleCloudPlatform/cloud-code-intellij-internal
What did you do?
We store our
skaffold.yaml
files not in a project root, but in nested directory, i.e.deployment/skaffold.yaml
. In the same manner we have Helm chart in deployment directory, i.e.deployment/mychart
. Inskaffold.yaml
, this chart is referenced relative to the project root:When I run
skaffold run -f deployment/skaffold.yaml -p dev-env
from the project root, everything works correclty, and chart referencedeployment/mychart
is handled properly, so chart gets deployed. However, this is not the case for Cloud Run plugin.Cloud Code Kubernetes confiuration allows specifying skaffold file in
advanced
section, but it seems it treats its directory as the project root and thus all references inside this file are treated relative to it. So I get the error:What did you expect to see?
I expect that the plugin assumes project root as the base directory for skaffold relative paths. Otherwise configurable.
What did you see instead?