How myspotontheweb/argocd-springboot-demo2 works
Project type and purpose
• This is a cloud-native Java microservice demo project built with Spring Boot. Its primary purpose is to demonstrate a complete GitOps-style CI/CD pipeline using Jenkins, Helm, and Kubernetes (k3d), including automated builds, container image management, and declarative deployments.
File structure
• Top-level artifacts
• pom.xml, mvnw/mvnw.cmd, .mvn/… → standard Maven project for compiling and packaging the Spring Boot app
• Dockerfile → builds the application container
• Jenkinsfile → defines the Jenkins pipeline for building, testing, and pushing the container
• chart/ → Helm chart for deploying the application to Kubernetes
• devspace.yaml, devspace_start.sh → configuration for DevSpace CLI for local or remote development
• Source code
• src/main/java/com/myspotontheweb/springboot/demo2 → Demo2Application.java (entry point) and HelloController.java (REST endpoint)
• src/main/resources/application.properties → Spring Boot configuration
• src/test/java/… → unit tests
• CI/CD & deployment configs
• Jenkinsfile in root
• chart/templates/*.yaml → Kubernetes Deployment, Service, HPA, Ingress, ServiceAccount, test-connection
• devspace.yaml / devspace_start.sh → developer workspace orchestration
README for additional insights
• Describes starting a local k3d Kubernetes cluster, installing Jenkins via its Helm chart, configuring service accounts and secrets for Docker registry and GitOps triggers.
• Shows how Jenkins is configured (via JCasC) to run a multibranchPipelineJob against this Git repo.