Closed jlewi closed 4 months ago
Right now when we apply RepoConfig it will check out a source repository and then apply all resources it finds. This can cause a loop. Because applying a RepoConfig will end up trying to apply that RepoConfg again.
Actually this shouldn't happen because RepoConfig has an allow list https://github.com/jlewi/hydros/blob/48988a89c2dbabe5fb7f4e6970fb8c403d8c8c83/pkg/gitops/repocontroller.go#L209
Right now when we apply RepoConfig it will check out a source repository and then apply all resources it finds. This can cause a loop. Because applying a RepoConfig will end up trying to apply that RepoConfg again.