Skip to content

Commit f882474

Browse files
author
Lily He
committed
update voyager template
1 parent f859d79 commit f882474

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kubernetes/internal/voyager-ingress-template.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ metadata:
1010
annotations:
1111
ingress.appscode.com/type: 'NodePort'
1212
ingress.appscode.com/stats: 'true'
13+
ingress.appscode.com/affinity: 'cookie'
1314
spec:
1415
rules:
15-
- host: %DOMAIN_UID%.%CLUSTER_NAME%
16+
- host: '*'
1617
http:
1718
nodePort: '%LOAD_BALANCER_WEB_PORT%'
1819
paths:

src/integration-tests/bash/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,12 +1161,11 @@ function verify_webapp_load_balancing {
11611161
local max_count=30
11621162
local wait_time=6
11631163
local count=0
1164-
local vheader="host: $DOMAIN_UID.$WL_CLUSTER_NAME" # this is only needed for voyager but it does no harm to traefik etc
11651164

11661165
while [ "${HTTP_RESPONSE}" != "200" -a $count -lt $max_count ] ; do
11671166
local count=`expr $count + 1`
11681167
echo "NO_DATA" > $CURL_RESPONSE_BODY
1169-
local HTTP_RESPONSE=$(eval "curl --silent --show-error -H '${vheader}' --noproxy ${NODEPORT_HOST} ${TEST_APP_URL} \
1168+
local HTTP_RESPONSE=$(eval "curl --silent --show-error --noproxy ${NODEPORT_HOST} ${TEST_APP_URL} \
11701169
--write-out '%{http_code}' \
11711170
-o ${CURL_RESPONSE_BODY}" \
11721171
)

0 commit comments

Comments
 (0)