One of the key goals of hydros is to be declarative. That means we should be continuously running it. Right now we don't have a good story for that. There's a bunch of different issues related to this
#62
#61
#5
There's a couple different patterns we could follow. The current proposal was to
- Turn the resources into K8s controllers
- Use existing GitOps toolks to sync to the cluster
This seems unnecessarily heavyweight given all we really need is to run a cronjob. Basically all we need is to periodically run
hydros apply /path/to/repo_config.yaml
That will trigger hydros to check out the repository at the specified commit and then apply any resources we find.
I think we should just try to run this on Cloud Run.
One of the key goals of hydros is to be declarative. That means we should be continuously running it. Right now we don't have a good story for that. There's a bunch of different issues related to this
#62
#61
#5
There's a couple different patterns we could follow. The current proposal was to
This seems unnecessarily heavyweight given all we really need is to run a cronjob. Basically all we need is to periodically run
That will trigger hydros to check out the repository at the specified commit and then apply any resources we find.
I think we should just try to run this on Cloud Run.