spring-cloud-config-server
by Helm
A Helm chart for Spring Cloud Config Server
About this chart
Spring Cloud Config Server
Introduction
Spring Cloud Config Server is a normal Spring Boot application, it can be configured through all the ways a Spring Boot application can be configured. You may use environment variables or you can mount configuration in the provided volume. The configuration file must be named application and may be a properties or yaml file. See the Spring Boot documentation for further information on how to use and configure Spring Boot.
Prerequisites
- Has been tested on Kubernetes 1.11+
Installing the Chart
To install the chart with the release name spring-cloud-config-server, run the following command:
$ helm install kiwigrid/spring-cloud-config-server --name spring-cloud-config-server
Uninstalling the Chart
To uninstall/delete the spring-cloud-config-server deployment:
$ helm delete spring-cloud-config-server
The command removes all the Kubernetes components associated with the chart and deletes the release.
Tip: To completely remove the release, run
helm delete --purge spring-cloud-config-server
Configuration
The following table lists the configurable parameters of the spring-cloud-config-server chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Docker image repo | hyness/spring-cloud-config-server |
image.tag | Docker image | 2.1.3.RELEASE |
image.pullPolicy | Docker image pull policy | IfNotPresent |
image.pullSecrets | Docker image pull secrets | {} |
service.type | Service type | ClusterIP |
service.port | Service port of spring-cloud-config-server | 80 |
resources | Resource limits for the pod | {} |
ingress.enabled | Ingress enabled | false |
ingress.annotations | Ingress annotations | {} |
podTemplate.annotations | Pod template annotations | {} |
ingress.path | Ingress path | / |
ingress.hosts | Ingress hosts | [] |
ingress.tls | Ingress TLS | [] |
resources | Resources | {} |
nodeSelector | NodeSelector | {} |
tolerations | Tolerations | [] |
affinity | Affinity | {} |
extraEnv | extra Env | [] |
config.gitUri | git repo URL | {} |
config.gitSearchpath | git search path | {application} |
secrets.gitUsername | git username | {} |
secrets.gitPassword | git password | {} |
| `secrets.githubKnownHosts | known_hosts content (base64) | {} |
secrets.githubPrivateKey | id_rsa content (base64) | {} |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example:
$ helm install --name spring-cloud-config-server --set ingress.enabled=false kiwigrid/spring-cloud-config-server
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart.
Deploy spring-cloud-config-server with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spring-cloud-config-server 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspring-cloud-config-server is pinned at v0.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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