Commit 03de0882 authored by 吕永新's avatar 吕永新

修改ingress.yaml

parent c979cb50
......@@ -115,7 +115,7 @@ spec:
- websecure
routes:
- kind: Rule
match: Host(`{{ "$ingress.hosts.core" }}`) && PathPrefix(`/`)
match: Host(`{{ .Values.expose.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(`{{ .Values.expose.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(`{{ .Values.expose.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(`{{ .Values.expose.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(`{{ .Values.expose.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(`{{ .Values.expose.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(`{{ .Values.expose.ingress.hosts.notary }}`) && PathPrefix(`/`)
middlewares: []
priority: 0
services:
......@@ -186,4 +186,12 @@ metadata:
name: harbor
namespace: {{ .Release.Namespace }}
spec:
host: {{ "$ingress.hosts.core" }}
\ No newline at end of file
host: {{ .Values.expose.ingress.hosts.core }}
---
apiVersion: bcc.bd-apaas.com/v1alpha1
kind: IngressHost
metadata:
name: harbor
namespace: {{ .Release.Namespace }}
spec:
host: {{ .Values.expose.ingress.hosts.notary }}
\ 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