A spring boot starter template that includes a docker image, generate helm chart using jkube, and GitHub action CI
This is a template repository for kicking off a cloud native spring boot java microservice.
It's solely focused on deployment to kubernetes, the primary build artifacts of the repository are a OCI image and a helm chart. The helm chart is dynamically generated using jkube and it's associated gradle plugin.
Use make deploy
, if the namespace does not exist already run make create-namespace
Use make run
.
If you wish to run directly in your IDE:
docker-compose up -d
to start the postgres database server../gradlew update bootRun
, update
runs the migrations and bootRun
launches the spring boot applicationTarget | Description |
---|---|
jar | Builds the standalone jar |
image | Builds the OCI image |
run | Runs the OCI image using docker locally |
create | Creates the kubernetes namespace a deploy will go to |
build | Runs the gradle tasks to build the helm chart |
build-dependencies | Runs the helm tasks to pull in sub chart dependencies |
deploy | Deploys the chart to your current kubernetes context |
template | Renders the chart templates to standard kubernetes manifests |
kics | Scan the chart resources with KICS |
io.github.bryopsida
with appropriate values for your projectspring-boot-starter
with appropriate values for your projectspring-boot-starter-tomcat
with appropriate values for your pojectbryopsida
with appropriate values for your project