This example sets up a GitHub repository as a source of truth for Flux to read and to apply manifests into your Kubernetes cluster. It also has a corresponding GitHub action which can push manifests to this repository to deploy your code.
This brings the benefits of GitOps together with the ease of managing deployment automation with Deliverybot. Click a button and watch manifests be updated and deployed to your Kubernetes cluster!
This is currently in beta and the API around this may change.
Requires cfssl
to be installed along with helm
and kubectl
.
-
Copy this repository to your organization.
-
Run the
./install.sh
script to setup FluxCD or follow this guide here.
[email protected]:myrepo/example-gitops.git GIT_PATH=deploy NAMESPACE=kube-system ./install.sh
-
Create a new repository to emulate an application that you want to deploy to Kubernetes and install the GitOps action https://github.com/deliverybot/gitops
-
Install the repository on Deliverybot.
-
Trigger a deployment and watch the action push a change to your flux repo!