Commit c979cb50 authored by 吕永新's avatar 吕永新

update ingress.yaml

parent 60d640af
...@@ -115,7 +115,7 @@ spec: ...@@ -115,7 +115,7 @@ spec:
- websecure - websecure
routes: routes:
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -124,7 +124,7 @@ spec: ...@@ -124,7 +124,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/api/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/api/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -133,7 +133,7 @@ spec: ...@@ -133,7 +133,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/service/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/service/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -142,7 +142,7 @@ spec: ...@@ -142,7 +142,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/v2/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/v2/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -151,7 +151,7 @@ spec: ...@@ -151,7 +151,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/chartrepo/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/chartrepo/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -160,7 +160,7 @@ spec: ...@@ -160,7 +160,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/c/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/c/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -169,7 +169,7 @@ spec: ...@@ -169,7 +169,7 @@ spec:
namespace: devops namespace: devops
port: 80 port: 80
- kind: Rule - kind: Rule
match: Host(`{{ $ingress.hosts.core }}`) && PathPrefix(`/`) match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/`)
middlewares: [] middlewares: []
priority: 0 priority: 0
services: services:
...@@ -186,4 +186,4 @@ metadata: ...@@ -186,4 +186,4 @@ metadata:
name: harbor name: harbor
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
spec: spec:
host: {{ $ingress.hosts.core }} host: {{ "$ingress.hosts.core" }}
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment