How vsaisuneeth/myapp works
This repository is a container supply-chain and GitOps delivery example. Its principal workflow starts with a source change, builds and publishes an image, attaches an SBOM and keyless signature, then records the immutable image digest in GitOps so Argo CD can reconcile Kubernetes. Supporting branches cover AWS identity and ECR configuration, Helm workload configuration, and intended Kyverno admission policy. Workflow and deployment relationships are documented in the README; only the small Go HTTP server was sampled directly, so unsampled implementation details are not inferred.
Main entry points: deploy.yml GitHub Actions · verify-image.yaml Kyverno Policy · Dockerfile Image Build · ecr.tf ECR Configuration
Components 18
Release Pipeline
- GitHub Actions
.github/workflows/deploy.yml - GitHub OIDC
- AWS IAM Role
role.json - ECR Configuration
infra/ecr.tf - Image Build
Dockerfile - Amazon ECR
Artifact Trust
- CycloneDX SBOM
sbom.cdx.json - Cosign Signing
- Immutable Digest
GitOps Delivery
- GitOps Repository
- Helm Values
myapp-chart/values.yaml - Argo CD
Runtime and Policy
- Helm Deployment
myapp-chart/templates/deployment.yaml - Helm Service
myapp-chart/templates/service.yaml - Kubernetes
- Go HTTP Application
main.go - Kyverno Policy
kyverno/verify-image.yaml
Other components
- Developer
Connections 19
- Developer → GitHub Actions: pushes source
README.md - GitHub Actions → GitHub OIDC: authenticates through
README.md - GitHub OIDC → AWS IAM Role: assumes role
README.md - GitHub Actions → Image Build: builds image
README.md - Image Build → Amazon ECR: publishes image
README.md - ECR Configuration → Amazon ECR: configures registry
README.md - GitHub Actions → CycloneDX SBOM: generates and uploads
README.md - GitHub Actions → Cosign Signing: signs and verifies
README.md - Amazon ECR → Immutable Digest: provides digest
README.md - GitHub Actions → Immutable Digest: retrieves digest
README.md - GitHub Actions → GitOps Repository: updates and pushes
README.md - GitOps Repository → Helm Values: stores image reference
README.md - Argo CD → GitOps Repository: reconciles chart from
README.md - Argo CD → Kubernetes: synchronizes workload
README.md - Helm Deployment → Kubernetes: defines deployment
README.md - Helm Service → Kubernetes: defines service
README.md - Kubernetes → Go HTTP Application: runs application
README.md - Kyverno Policy → Kubernetes: intended admission policy
README.md - Kyverno Policy → Cosign Signing: verifies image identity
README.md