GoogleContainerTools / GoogleContainerTools/skaffold

Issue when interpreting paths during sync with skaffold

Open
#5,108 2 comments 0 reactions 0 assignees View on GitHub
area/sync fixit help wanted kind/bug priority/p3
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

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:**

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

**This does not work:**

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

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

e1

### Information

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.