-
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
remoteManifests no longer works in v2.0.0 #7990
Comments
EDITED: The above suggestion incorrectly assumed remoteManifests were the same as URL manifests. See below comments for correct analysis of the issue |
|
Ignore the above comments, this information was incorrect. I did not properly understand the We have some logic to deduce url manifests, not remoteManifests. we call So I don't think the current change is the right fix, we're currently just not supporting remoteManifests in v2, this change may help supporting reading get manifests from kubenetes resources in remote clusters, but the implementation is hard. like the reproduction project : https://github.com/rishka/skaffold-manifests-bug/blob/main/skaffold.yaml the path can just be deploy/test, it's hard to tell if is a local path or some remote k8s resource. Also, we will need to specify cluster context for this kind of kubectl call, in v1 this readRemoteManifests is a function for deployer, we have a place to specify that kube context in config, but in v2 we cannot specify this kube context under rawK8, we may need a separate config to support reading remote manifests from clusters. Then it's clear that the path is for k8s resources, maybe we don't even have to name it as path, also we're able to specify context. What do you think? |
Expected behavior
Remote manifests loads manifest from specified kubernetes resource
Actual behavior
Manifests are looked for locally
Information
Steps to reproduce the behavior
kubectl apply -f deploy.yaml
skaffold run
nothing to deploy
in v2, correctly applies in v1The text was updated successfully, but these errors were encountered: