loft-sh / component-chart

Kubernetes Component Chart - Helm Chart for Application Components in Kubernetes
https://devspace.sh/component-chart/docs/introduction
Apache License 2.0
32 stars 39 forks source link

Example of ingress for Traefik on K3S #29

Open AnsonT opened 3 years ago

AnsonT commented 3 years ago

I'm deploying to a K3S cluster which has built-in Traefik ingress controller. It would be great to see an example of how that is configured in the component chart.

LukasGentele commented 3 years ago

@AnsonT it should be the same as with nginx or any other ingress controller. You may have to set a label or an annotation so that the ingress controller processes the ingress you define using the component-chart but other than that, it should not be any different.

rajborborah commented 2 years ago

Running help install as given on their website with the following values file work ingress: enabled: true host: "loft.yourdomain.com" annotations: kubernetes.io/ingress.class: traefik

Make sure to put DNS entry for host pointing to the IP Address of listed in kubectl get ingress -n loft to access