Now, use traefik

Ingress-nginx is now deprecated, so we changed ingress management:
- traefik is now the default ingress class to use
- we add traefik ingressroute management too
This commit is contained in:
2026-05-03 21:19:59 +02:00
parent 9924ede999
commit a1e6726763
10 changed files with 520 additions and 34 deletions

View File

@@ -196,6 +196,11 @@ func (d *Deployment) AddIngress(service types.ServiceConfig, appName string) *In
return NewIngress(service, d.chart)
}
// AddIngressRoute adds an IngressRoute to the deployment if type is "ingressroute".
func (d *Deployment) AddIngressRoute(service types.ServiceConfig, appName string) Yaml {
return NewIngressRouteFromService(service, d.chart)
}
// AddVolumes adds a volume to the deployment. It does not create the PVC, it only adds the volumes to the deployment.
// If the volume is a bind volume it will warn the user that it is not supported yet.
func (d *Deployment) AddVolumes(service types.ServiceConfig, appName string) {