external-service

by philippwaller

Helm chartv1.0.9App v1.0.6

This Helm Chart allows services that operate outside the Kubernetes cluster to be accessible via the ingress controller.

About this chart

External Service

This Helm Chart allows services that operate outside the Kubernetes cluster to be accessible via the ingress controller.

TL;DR

helm repo add philippwaller https://charts.philippwaller.com
helm install my-service philippwaller/external-service

Introduction

This chart deploys an Endpoint, Service and Ingress configuration on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.1+

Parameters

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""

Service Configuration

NameDescriptionValue
service.ipIP addresses of the external service10.0.0.1
service.targetPortPort of the external service80
service.protocolProtocol of the external serviceTCP
service.nameName of the external porthttp
service.portPort of the internal Kubernetes service80
service.typeService typeClusterIP
service.externalNameTarget for ExternalName type service""
service.extraPortsAn array of extra port configurations[]

Ingress Configuration

NameDescriptionValue
ingress.enabledEnable ingress record generationtrue
ingress.classNameIngressClass that will be be used to implement the Ingress""
ingress.annotationsAdditional annotations for the Ingress resource.{}
ingress.hostsAn array with ingress host objects, under which service should be reachable{}
ingress.tlsAn array of TLS configurations[]

Support this project

If this project was useful to you in some form, I would be glad to have your support by starring ⭐️ this repository.

Deploy external-service with OpenTenant

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