-
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
exit with "missing Resource metadata" #9099
Comments
Ah I get the same issue too, when using |
Got the same error, any workaround? |
Happening to me, too. It was working just fine, then out of nowhere this has been stopping me in my tracks. Full removal and reinstall didn't fix |
I hit this issue and it was due to changes in a local helm chart being deployed by skaffold (using manifests.helm.releases in skaffold spec). I started undoing changes until error went away, it seems to have been caused by me commenting out a cookie cutter PVC helm template. (Adding I found that if I remove the labels lines, I do not get the error. With it present, I get the same Reproduces error:
Does not reproduce error / works as expected. (Label include lines removed)
|
Hello, just bumping it up. It's 1 am at night and I just arrived here. Have the same error with the same root case. |
In my case the issue was that my manifests were using CRLF (Windows line break). By switching to LF line break the issue was resolved. |
I was facing a similar a issue. I was trying to isolate each config separately and realised the issue might be happening in Windows for "ClusterRoleBinding" manifests (for ClusterRole roleRef). When I comment that part of the yaml, everything gets loaded as usual. Could this be an issue? |
have you found a solution? I tried many times and still the same, the problem is exactly the same as in the first post and I am able to reproduce it. |
I received the same error. I was deploying postgresql , and I used configMap for defining the db name and db host, but when i removed that code, and directly used the value, It worked like charms! This was for local setup. Old Code:
Updated Code:
|
Hi does anyone have a solution for this? I'm currently using v4beta11, it worked properly some weeks ago but it suddenly returned the following message and exit
Here is my skaffold.yaml
Here is the auth-depl.yaml
I tried to reinstall skaffold using choco but the error still remains My OS is Windows 11 Pro |
I received the same error, and resolved by delete comment in service yaml( # )!!! |
I had this problem too, on my end it was because there was a helm values file that skaffold tried to load as manifests:
rawYaml:
- *.yaml |
Expected behavior
skaffold dev
running properlyActual behavior
exit with "missing Resource metadata", no resource except images were created
Information
Steps to reproduce the behavior
1.https://github.com/piomin/sample-spring-microservices-kubernetes.git
2.
skaffold dev
3. ...
The text was updated successfully, but these errors were encountered: