Skip to content

A Kubernetes Helm chart for the Traefik IngressRoute resource to add to other charts

License

Notifications You must be signed in to change notification settings

kumulustech/ingressroute-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Kubernetes HELM Chart to add a Traefik IngressRoute for your application

This Helm Chart supports adding a Traefik v2 IngressRoute to your application either as a dependent Helm chart, or as a standalone resource.

Traefik 2 adds an IngressRoute resource to support defining forwarding for your application. This is not directly equivalent to the Ingress of the past, and therefore doesn't easily insert itself in most helm charts that have an Ingress definition included. The simple solution however, is to add this either as a standalone chart (it's connecting the dots as most Kubernetes resources do), and as most Traefik systems are setup to support multiple services (simplifying much of the other forwarding decisions), it's easy to just add your route as a part of that service.

Install this chart

You'll want to configure this chart to map your outbound facing DNS name to your service. If everything resides in the same namespace, you can just define host, path, service name and service port and your off.

You can also include a service target namespace if it differs from where you install this chart.

Create a values.yaml document for your particular app:

host: test.example.com
path: /
service:
  name: test
  port: 80

And then install from the repository. NOTE: the chart name needs to be different than your app, but the only critical information for forwarding is already included in the values.yaml:

helm install app-ir ingressroute --repo https://kumulustech.github.io/ingressroute-helm --values values.yaml

Contributing

Fork and submit a pull request. We follow the code of conduct outlined in our Code of Conduct file in the root directory of the repository.

About

A Kubernetes Helm chart for the Traefik IngressRoute resource to add to other charts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages