spring-cloud-config-server

by Helm

Helm chartv0.1.3App 2.1.3.RELEASE

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.

ParameterDescriptionDefault
image.repositoryDocker image repohyness/spring-cloud-config-server
image.tagDocker image2.1.3.RELEASE
image.pullPolicyDocker image pull policyIfNotPresent
image.pullSecretsDocker image pull secrets{}
service.typeService typeClusterIP
service.portService port of spring-cloud-config-server80
resourcesResource limits for the pod{}
ingress.enabledIngress enabledfalse
ingress.annotationsIngress annotations{}
podTemplate.annotationsPod template annotations{}
ingress.pathIngress path/
ingress.hostsIngress hosts[]
ingress.tlsIngress TLS[]
resourcesResources{}
nodeSelectorNodeSelector{}
tolerationsTolerations[]
affinityAffinity{}
extraEnvextra Env[]
config.gitUrigit repo URL{}
config.gitSearchpathgit search path{application}
secrets.gitUsernamegit username{}
secrets.gitPasswordgit password{}
`secrets.githubKnownHostsknown_hosts content (base64){}
secrets.githubPrivateKeyid_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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspring-cloud-config-server is pinned at v0.1.3 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