GoogleContainerTools/skaffold

Issue when interpreting paths during sync with skaffold

Open

#5,108 opened on Dec 3, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (12,822 stars) (1,416 forks)batch import
area/syncfixithelp wantedkind/bugpriority/p3

Description

Expected behavior

Hi. I have setup skaffold to do file sync. While it works well, there is an issue when interpreting paths during sync.

For eg,

This works:

infer:
   - 'packages/**/src/**/*.*'

This does not work:

infer:
    - './packages/**/src/**/*.*'

Where its the same path but with a ./ in front. So, the file does not get matched during sync:

Information

  • Skaffold version: v1.16.0
  • Operating system: Ubuntu server 20.04

Contributor guide