spring-boot-rest-http

by joaquinito2051

Helm chartv0.0.1

A Helm chart to build and deploy Spring Boot application with REST endpoints

About this chart

REST HTTP Spring Boot Example

A Helm chart for building and deploying the Spring Boot REST example on OpenShift.

Values

Below is a table of each value used to configure this chart.

ValueDescriptionDefault
spring-boot-example-app.nameName of the application you want to build/deployrest-http
spring-boot-example-app.versionVersion that you want to build/deploy0.0.1
spring-boot-example-app.s2i.source.repoGit URI that references the Spring Boot REST example git repohttps://github.com/snowdrop/rest-http-example
spring-boot-example-app.s2i.source.refGit ref that references the Spring Boot REST example git reposb-2.5.x

Overwrite the GIT S2i values

You can overwrite the GIT S2i values by using the --set option when installing the chart:

helm install rest-http ./ --set spring-boot-example-app.s2i.source.repo=<repo-to-use> --set spring-boot-example-app.s2i.source.ref=<ref-to-use>

Deploy spring-boot-rest-http with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spring-boot-rest-http on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspring-boot-rest-http is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply