ArgoCD AppSet does not recognize hidden directories that start with a dot #17915
Closed
3 tasks done
Labels
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
ArgoCD AppSet does not recognize hidden directories that start with a dot within the Git generator.
It does recognize it when reading files:
but when changing the configuration to read directories it doesn’t read anything:
It seems like an unplanned behavior ignoring the directories starting with a dot. this seems to be the root cause of this bug:
argo-cd/reposerver/repository/repository.go
Line 2650 in a539f95
It is probably needed to add a flag to support hidden directories so It will not be a breaking change because of this bug.
To Reproduce
e.g:
3.sync the application-set.
Expected behavior
2 apps should have been created: my-test-foo and my-test-bar.
the actual behavior is that nothing was created because the hidden directory was skipped.
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: