You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
in the source of the git generator (repoURL), create the following structure:
.meta
app
foo
deployment.yaml
bar
deployment.yaml
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.
BarAshkenazi
changed the title
ArgoCD AppSet does not recognize hidden directories that start with dot
ArgoCD AppSet does not recognize hidden directories that start with a dot
Apr 21, 2024
And so it does with other applications that we create hidden repositories such as .gitignore, so one of the solutions are using public repos but using .gitignore files even though it might now work for some cases
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: