mirror of
https://github.com/alibaba/higress.git
synced 2026-05-08 04:17:27 +08:00
feat: e2e test support http body check (#733)
This commit is contained in:
@@ -61,7 +61,10 @@ spec:
|
||||
containers:
|
||||
- name: infra-backend-v1
|
||||
# From https://github.com/kubernetes-sigs/ingress-controller-conformance/tree/master/images/echoserver
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -107,7 +110,10 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: infra-backend-v2
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -153,7 +159,57 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: infra-backend-v3
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: infra-backend-echo-body-v1
|
||||
namespace: higress-conformance-infra
|
||||
spec:
|
||||
selector:
|
||||
app: infra-backend-echo-body-v1
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 3000
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: infra-backend-echo-body-v1
|
||||
namespace: higress-conformance-infra
|
||||
labels:
|
||||
app: infra-backend-echo-body-v1
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: infra-backend-echo-body-v1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: infra-backend-echo-body-v1
|
||||
spec:
|
||||
containers:
|
||||
- name: infra-backend-echo-body-v1
|
||||
# FROM https://github.com/higress-group/echo-body
|
||||
image: 873292889/echo-body:1.0.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -206,7 +262,10 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: app-backend-v1
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -252,7 +311,10 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: app-backend-v2
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -305,7 +367,10 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: web-backend
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
# image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/echoserver:v20221109-7ee2f3e
|
||||
|
||||
# From https://github.com/Uncle-Justice/echo-server
|
||||
image: 873292889/echo-server:1.3.0
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
|
||||
Reference in New Issue
Block a user