Setting up Gitea
We'll be using Gitea as a quick and easy alternative to GitHub or GitLab. Gitea is a lightweight, self-hosted Git service that provides a user-friendly web interface, allowing us to rapidly set up and manage our own Git repositories. This will serve as our source of truth for storing and versioning our Kubernetes manifests, which is essential for the GitOps workflows we'll be exploring with Argo CD.
Let's install Gitea in our EKS cluster with Helm:
Make sure that Gitea is up and running before proceeding:
An SSH key will be needed to interact with Git. The environment preparation for this lab created one, we just need to register it with Gitea:
And we'll also need to create the Gitea repository that Argo CD will use:
Now we can set up an identity that Git will use for our commits:
And finally let's clone the repository and set up the initial structure:
Switched to a new branch 'main'