-
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
Skaffold sync unable to parse config #2158
Comments
The sync config was improved with version v1beta10. The easiest fix is to change your config version to |
@corneliusweig thank you! Very help and solved my issue. |
So this is the proper approach now for the triple star?
Just checking that "dest" is meant to be empty? |
Yes this is correct. Please see https://skaffold.dev/docs/how-tos/filesync/ for details. |
@corneliusweig thanks for the info and link. I've noticed now that I'm back to the problem I had previously when files get flattened ever since making this change.
However, the current filesync documentation found here doesn't show anything about preserving that file structure that the triple asterisk used to accomplish. https://skaffold.dev/docs/how-tos/filesync/ Any thoughts on how I can get this back in there? |
I updated my skaffold version to v1beta11 and it seems to be working better now...tough to confirm though. On v1beta10 this was definitely an issue though. |
The directory structure will always be preserved. Flattening is completely gone. Are you still experiencing an issue with sync or does everything work as expected? I lost track of what you are trying to accomplish. |
@corneliusweig seems to be working a little more fluidly today. Perhaps there was something going on with my cache or I didn't have something setup properly. Will continue to watch it, but we can consider this closed for now! Thanks for your help. |
Expected behavior
Yaml file parses correctly and directory syncing works.
Actual behavior
Parse error on the latest version. No more directory sync.
Information
A little while ago I approached skaffold with an issue syncing entire directories. I was instructed to use an undocumented pattern
***/*.js
. That worked, but it appears that pattern has been removed on the latest version so I'm looking for a solution to be able to do that again?Steps to reproduce the behavior
skaffold dev
The text was updated successfully, but these errors were encountered: