Skip to content

GitOps repository for EasyTP Kubernetes infrastructure managed by Flux CD.

Notifications You must be signed in to change notification settings

TheDhm/EasyTP-Infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyTP Infrastructure

GitOps repository for EasyTP Kubernetes infrastructure managed by Flux CD.

Structure

├── clusters/production/     # Cluster-level Kustomizations
├── infrastructure/          # Namespaces, cert-manager config
├── apps/                    # Application deployments
│   ├── django-app/          # Django backend + PostgreSQL + Redis + Nginx
│   └── registry/            # Self-hosted Docker registry
└── image-automation/        # Flux image update automation

Related Repositories

Secrets (Manual)

These secrets must be created manually (not stored in git):

# Registry credentials for Flux image scanning
kubectl create secret docker-registry registry-credentials \
  --namespace=flux-system \
  --docker-server=registry.melekabderrahmane.com \
  --docker-username=<username> \
  --docker-password=<password>

# Registry pull secret for django-app
kubectl create secret docker-registry registry-pull-secret \
  --namespace=django-app \
  --docker-server=registry.melekabderrahmane.com \
  --docker-username=<username> \
  --docker-password=<password>

# Django secrets (DB_PASSWORD, SECRET_KEY, WEBHOOK_SECRET)
kubectl create secret generic django-secrets \
  --namespace=django-app \
  --from-literal=DB_PASSWORD=<password> \
  --from-literal=SECRET_KEY=<secret-key> \
  --from-literal=WEBHOOK_SECRET=<webhook-secret>

Bootstrap

export GITHUB_TOKEN=<your-pat>

flux bootstrap github \
  --owner=<your-github-username> \
  --repository=EasyTP-Infra \
  --branch=main \
  --path=./clusters/production \
  --personal \
  --components-extra=image-reflector-controller,image-automation-controller

About

GitOps repository for EasyTP Kubernetes infrastructure managed by Flux CD.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published