openshift-route

by Helm

Helm chartv1.1.4App v1

A Helm chart for OpenShift that simply creates a Route object

About this chart

openshift-route

A Helm chart for OpenShift that simply creates a Route object

Installation

helm repo add appuio https://charts.appuio.ch
helm install openshift-route appuio/openshift-route

This chart requires that service.name is set (--set service.name=my-backend-service).

Values

KeyTypeDefaultDescription
alternateBackendslist[]Up to 4 additional backends can be enabled to support the route. Consult the documentation.
annotationsobject{}Annotations on the route object.
fullnameOverridestring""If you need to give a specific name to the route, override this, as it affects the hostname generated if host is left empty.
hoststring""The hostname that should be used. If left empty, OpenShift will generate one for you with defaults.
labelsobject{}Additional labels on the route object.
nameOverridestring""Overrides the name after the Chart name. Affects route name and hostname generation.
pathstring""Subpath of the route.
service.namestring""The backend service name of the route. Required
service.targetPortstring"http"The port of the backend service. The port is aware of the named ports of the service, so it can be a name too.
service.weightint100Weight of the service endpoint.
tls.caCertificatestring""CA (chain) of the certificate in PEM format.
tls.certificatestring""Certificate in PEM format.
tls.destinationCACertificatestring""CA of the backend in PEM format. Only relevant when termination=reencrypt.
tls.enabledboolfalseWhether to secure the Route with TLS.
tls.insecureEdgeTerminationPolicystring"Redirect"What to do with non-HTTPS traffic (usually port 80).
tls.keystring""Certificate private key in PEM format.
tls.terminationstring"edge"TLS termination of the route.
wildcardPolicystring"None"Wildcard Policy of the route.

Deploy openshift-route with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openshift-route 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 chartopenshift-route is pinned at v1.1.4 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