Now manage kubernetes version in ingress

The backend and ingressClassName are now under condition
This commit is contained in:
2022-02-16 10:37:46 +01:00
parent 722c7424d0
commit a4834a0661
4 changed files with 55 additions and 13 deletions

View File

@@ -197,7 +197,7 @@ func createIngress(name string, port int, s *compose.Service) *helm.Ingress {
Paths: []helm.IngressPath{{
Path: "/",
PathType: "Prefix",
Backend: helm.IngressBackend{
Backend: &helm.IngressBackend{
Service: helm.IngressService{
Name: RELEASE_NAME + "-" + name,
Port: map[string]interface{}{