How manojsiriparthi/end-to-end-kubernetes-devsecops-tetris-project works
This repository is a learning project for deploying two Tetris web-app versions on AWS EKS with a DevSecOps toolchain. Its intended workflow is infrastructure provisioning, application build and security checks, then Kubernetes delivery. The tree contains Terraform, Jenkins pipeline code, and both apps, but no Kubernetes manifests or ArgoCD configuration despite the README’s description. App relationships below use sampled source or the SOURCE INDEX; deployment and scanning links are documented at a high level or left unverified.
Main entry points: environments Environment stacks · index.js V2 game loop · Game.js V1 game UI · Jenkins-Pipeline-Code Build pipelines
Components 26
AWS infrastructure
- Environment stacks
01-Infrastructure/environments - VPC networking
01-Infrastructure/modules/networking - EKS cluster
01-Infrastructure/modules/eks-cluster - Worker nodes
01-Infrastructure/modules/node-groups - IAM policies
01-Infrastructure/modules/iam - KMS encryption
01-Infrastructure/modules/kms - Security groups
01-Infrastructure/modules/security-groups - EKS add-ons
02-eks-addons
CI/CD and security
- Jenkins host
Jenkins-Server-TF - Build pipelines
Jenkins-Pipeline-Code - Security scanners
- Container registry
- ArgoCD delivery
Tetris V1
- V1 game UI
03-Application/Tetris-V1/src/components/Game.js - V1 game state
03-Application/Tetris-V1/src/tetris/State.js - V1 pieces
03-Application/Tetris-V1/src/tetris/Piece.js - V1 board rendering
03-Application/Tetris-V1/src/helpers/Helpers.js - V1 next-piece view
03-Application/Tetris-V1/src/components/Next.js
Tetris V2
- V2 app entry
03-Application/Tetris-V2/src/App.js - V2 game loop
03-Application/Tetris-V2/src/components/Game/index.js - V2 play stage
03-Application/Tetris-V2/src/components/Stage/index.js - Interval hook
03-Application/Tetris-V2/src/hooks/useInterval.js - Viewport sizing
03-Application/Tetris-V2/src/hooks/useWindowDimensions.js - Game-over view
03-Application/Tetris-V2/src/components/LoseGame/index.js - Board utilities
03-Application/Tetris-V2/src/utils/Utils.js
Other components
- Project user
Connections 27
- Project user → Environment stacks: provisions environments
README.md - Environment stacks → VPC networking: configures networking
- Environment stacks → EKS cluster: provisions EKS
README.md - Environment stacks → Worker nodes: configures nodes
- Environment stacks → IAM policies: configures IAM
- Environment stacks → KMS encryption: configures encryption
- Environment stacks → Security groups: configures access
- EKS cluster → EKS add-ons: extends cluster
- Project user → Jenkins host: uses automation
README.md - Jenkins host → Build pipelines: runs pipelines
README.md - Build pipelines → Security scanners: runs security checks
- Build pipelines → Container registry: publishes images
- ArgoCD delivery → EKS cluster: delivers applications
- V1 game UI → V1 game state: reads game state
03-Application/Tetris-V1/src/components/Game.js - V1 game state → V1 pieces: creates pieces
03-Application/Tetris-V1/src/tetris/State.js - V1 game UI → V1 board rendering: renders board
03-Application/Tetris-V1/src/components/Game.js - V1 game UI → V1 next-piece view: renders preview
03-Application/Tetris-V1/src/components/Game.js - V1 next-piece view → V1 board rendering: creates preview matrix
03-Application/Tetris-V1/src/components/Next.js - V1 board rendering → V1 pieces: renders piece cells
03-Application/Tetris-V1/src/helpers/Helpers.js - V2 app entry → V2 game loop: renders game
03-Application/Tetris-V2/src/App.js - V2 game loop → Interval hook: schedules game ticks
03-Application/Tetris-V2/src/components/Game/index.js - V2 game loop → Board utilities: maps player to board
03-Application/Tetris-V2/src/components/Game/index.js - V2 game loop → V2 play stage: passes game state
03-Application/Tetris-V2/src/components/Game/index.js - V2 play stage → Viewport sizing: reads viewport size
03-Application/Tetris-V2/src/components/Stage/index.js - V2 play stage → Game-over view: renders loss overlay
03-Application/Tetris-V2/src/components/Stage/index.js - Project user → V1 game UI: plays game
README.md - Project user → V2 app entry: plays game
README.md