Possible to run as scheduled (cron) GitHub Action? #335
Replies: 1 comment
-
You could definitely implement a GitOps-Promoter-like experience using only the SCM's workflow tooling (for example, GitHub Actions). That's one of the things I like most about the GitOps Promoter design: it's simple and relatively easily replicated. Building this in a controller gets you all the benefits of a Kubernetes API:
Basically, Kubernetes is pretty sweet, so we built the system on Kubernetes. Giving a Kubernetes workload git push access is understandably a point of concern. That's why we've designed GitOps Promoter to be deployable on its own cluster, so you can keep that access isolated. All that said, if you build a similar system using an SCM's workflow tooling, I'd love to see a demo! Kubernetes has its advantages, but I see no reason why a really strong version of this system couldn't be built outside Kubernetes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm reading the docs and I naively wonder how much value GitOps Promoter is getting from its Kubernetes host cluster, and whether it could just as easily run as a scheduled GitHub Action.
If it runs in Kubernetes it needs to run in one of the clusters, which means one of the clusters will have write access to GitHub. This is something we have so far avoided.
On the other hand, as I understand it, GitOps Promoter's inputs and outputs are all on GitHub (*), so why not run it as a GitHub Action? What value is it receiving from Kubernetes?
I think it would be helpful to document how to deploy the promoter on GitHub or GitLab using packages or containers produced by this project.
(*) I'm referring to the 3 jobs of the GitOps Promoter that were listed in one presentation at ArgoCon EU 2025
Beta Was this translation helpful? Give feedback.
All reactions