How nicolascosta-dev/labs-gitops works
This repository combines a small Flask HTTP service with Kubernetes and Argo CD configuration for a GitOps lab. The user-facing flow serves a greeting or JSON response, and one route calls a separate .NET Todo API and returns its response. The app also emits structured logs. The tree and README title identify deployment and notification configuration, but their contents were not sampled, so their wiring and the ECR image flow cannot be verified here.
Main entry points: app.py HTTP routes
Components 9
Flask service
- Flask app
python/src/app.py - HTTP routes
python/src/app.py - Structured logger
python/src/app.py
GitOps configuration
- Argo CD app config
argocd-app.yaml - Argo CD notifications
argocd-notifications-cm.yaml - Flask workload config
k8s/python-flask.yaml
Other components
- HTTP client
- .NET Todo API
- Argo CD
Connections 6
- HTTP client → Flask app: sends requests
- Flask app → HTTP routes: dispatches
- HTTP routes → HTTP client: returns responses
- HTTP routes → Structured logger: writes logs
- HTTP routes → .NET Todo API: requests items
- .NET Todo API → HTTP routes: returns text