diff --git a/templates/ingress/ingress.yaml b/templates/ingress/ingress.yaml index c3358da22ffd730f7a0446bed8ae86c1d1683be1..f33cb4ee44534a1bc6262478c79fba603110d675 100644 --- a/templates/ingress/ingress.yaml +++ b/templates/ingress/ingress.yaml @@ -115,7 +115,7 @@ spec: - websecure routes: - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/`) middlewares: [] priority: 0 services: @@ -124,7 +124,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/api/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/api/`) middlewares: [] priority: 0 services: @@ -133,7 +133,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/service/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/service/`) middlewares: [] priority: 0 services: @@ -142,7 +142,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/v2/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/v2/`) middlewares: [] priority: 0 services: @@ -151,7 +151,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/chartrepo/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/chartrepo/`) middlewares: [] priority: 0 services: @@ -160,7 +160,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/c/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/c/`) middlewares: [] priority: 0 services: @@ -169,7 +169,7 @@ spec: namespace: devops port: 80 - kind: Rule - match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`) + match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/`) middlewares: [] priority: 0 services: @@ -186,4 +186,4 @@ metadata: name: harbor namespace: {{ .Release.Namespace }} spec: - host: {{ $ingress.hosts.core }} \ No newline at end of file + host: {{ "$ingress.hosts.core" }} \ No newline at end of file