GoogleContainerTools/skaffold

Issue when interpreting paths during sync with skaffold

Aperta

#5108 aperta il 3 dic 2020

 (2 commenti) (0 reazioni) (0 assegnatari)Go (1416 fork)batch import
area/syncfixithelp wantedkind/bugpriority/p3

Metriche repository

Star
 (12.822 stelle)
Metriche merge PR
 (Merge medio 3g 6h) (16 PR mergiate in 30 g)

Descrizione

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

Guida contributor