Skip to content

Balen-Dev/GitOps_Apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ GitOps Apps Repository

This repository contains application configurations and source code for my GitOps deployment pipeline.

πŸ“ Repository Structure

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

πŸ”„ How It Works

  1. Application Source Code: Located in services/ directory
  2. Kubernetes Configurations: Located in apps/ directory using Kustomize
  3. CI/CD Pipeline: GitHub Actions builds and pushes Docker images
  4. GitOps Deployment: FluxCD automatically detects new images and updates deployments

πŸš€ Deployment Flow

  1. Code changes pushed to main branch

  2. GitHub Actions runs tests and builds Docker image

  3. Image pushed to Docker Hub with latest tag and commit SHA

  4. FluxCD (running in the infrastructure repository) detects new image

  5. FluxCD automatically updates the deployment in the Kubernetes cluster

    πŸ”— Related Repository

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published