applicationset icon indicating copy to clipboard operation
applicationset copied to clipboard

Gitlab Generator: PathExists does not work for files

Open dsch opened this issue 3 years ago • 1 comments

Current behavior

The filter example from the doc does not work for Gitlab SCM generator.

Only directories are supported as values for pathsExist values.

Example: pathsExist: [kubernetes] works pathsExist: [kubernetes/kustomization.yaml] does not work

Expected behavior

Paths to files should match the filter.

Background

GitlabProvider RepoHasPath() uses List repository tree Gitlab API with option path. From the docs: The path inside repository. Used to get content of subdirectories.

dsch avatar Oct 05 '21 12:10 dsch

Doesnt work for me either with specific files. Also it looks like labelMatch isn't working as well.

daydy16 avatar Mar 01 '22 20:03 daydy16