This repository contains application configurations and source code for my GitOps deployment pipeline.
GitOps_Apps/
βββ apps/
β βββ base/
β β βββ dotnet/
β β βββ go/
β β βββ nodejs/
β β βββ rails/
β βββ dev/
β β βββ dotnet/
β β βββ go/
β β βββ nodejs/
β β βββ rails/
β βββ image-automation/
β βββ go-imagepolicy.yaml
β βββ go-imagerepo.yaml
βββ services/
β βββ go/
β βββ api.go
β βββ Dockerfile
β βββ go.mod
βββ .github/
β βββ workflows/
β βββ go.yaml
βββ README.md
- Application Source Code: Located in
services/directory - Kubernetes Configurations: Located in
apps/directory using Kustomize - CI/CD Pipeline: GitHub Actions builds and pushes Docker images
- GitOps Deployment: FluxCD automatically detects new images and updates deployments
-
Code changes pushed to
mainbranch -
GitHub Actions runs tests and builds Docker image
-
Image pushed to Docker Hub with latest tag and commit SHA
-
FluxCD (running in the infrastructure repository) detects new image
-
FluxCD automatically updates the deployment in the Kubernetes cluster
- GitOps_Infra - Infrastructure and cluster management