Skip to content

Commit 3bc723e

Browse files
raararaarahackerwins
authored andcommitted
Allow additional API host (#1396)
1 parent 337062f commit 3bc723e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
YORKIE_VERSION := 0.6.20
1+
YORKIE_VERSION := 0.6.21-rc
22

33
GO_PROJECT = github.com/yorkie-team/yorkie
44

build/charts/yorkie-cluster/templates/istio/ingress.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,15 @@ spec:
5353
name: yorkie-gateway
5454
port:
5555
number: 80
56+
{{ if .Values.ingress.hosts.apiHost2 }}
57+
- host: {{ .Values.ingress.hosts.apiHost2 }}
58+
http:
59+
paths:
60+
- path: /
61+
pathType: Prefix
62+
backend:
63+
service:
64+
name: yorkie-gateway
65+
port:
66+
number: 80
67+
{{ end }}

0 commit comments

Comments
 (0)