gcp ingress only supports ImplementationSpecific path type

This commit is contained in:
Antonio Ojea 2021-05-19 11:45:00 +02:00
parent 7b38012e74
commit c822a1f2c6
7 changed files with 13 additions and 13 deletions

View File

@ -220,7 +220,7 @@ func CreateIngressComformanceTests(jig *TestJig, ns string, annotations map[stri
updatedTLSHost := "foobar.com"
updateURLMapHost := "bar.baz.com"
updateURLMapPath := "/testurl"
prefixPathType := networkingv1.PathTypePrefix
prefixPathType := networkingv1.PathTypeImplementationSpecific
// Platform agnostic list of tests that must be satisfied by all controllers
tests := []ConformanceTests{
{

View File

@ -926,7 +926,7 @@ var _ = common.SIGDescribe("Ingress API", func() {
ingVersion := "v1"
ingClient := f.ClientSet.NetworkingV1().Ingresses(ns)
prefixPathType := networkingv1.PathTypePrefix
prefixPathType := networkingv1.PathTypeImplementationSpecific
serviceBackend := &networkingv1.IngressServiceBackend{
Name: "default-backend",
Port: networkingv1.ServiceBackendPort{

View File

@ -360,7 +360,7 @@ func (f *IngressScaleFramework) GetFormattedLatencies() string {
}
func addTestPathToIngress(ing *networkingv1.Ingress) {
prefixPathType := networkingv1.PathTypePrefix
prefixPathType := networkingv1.PathTypeImplementationSpecific
ing.Spec.Rules[0].IngressRuleValue.HTTP.Paths = append(
ing.Spec.Rules[0].IngressRuleValue.HTTP.Paths,
networkingv1.HTTPIngressPath{
@ -383,7 +383,7 @@ func (f *IngressScaleFramework) createScaleTestServiceIngress(suffix string, ena
}
func generateScaleTestIngressSpec(suffix string, enableTLS bool) *networkingv1.Ingress {
prefixPathType := networkingv1.PathTypePrefix
prefixPathType := networkingv1.PathTypeImplementationSpecific
ing := &networkingv1.Ingress{
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("%s-%s", scaleTestIngressNamePrefix, suffix),

View File

@ -11,7 +11,7 @@ spec:
http:
paths:
- path: /foo
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https

View File

@ -14,7 +14,7 @@ spec:
http:
paths:
- path: /foo
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheadersx
@ -24,14 +24,14 @@ spec:
http:
paths:
- path: /bar
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheadersy
port:
number: 80
- path: /foo
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheadersx

View File

@ -8,7 +8,7 @@ spec:
http:
paths:
- path: /test
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https
@ -18,7 +18,7 @@ spec:
http:
paths:
- path: /test
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https
@ -28,7 +28,7 @@ spec:
http:
paths:
- path: /test
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https
@ -38,7 +38,7 @@ spec:
http:
paths:
- path: /test
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https

View File

@ -17,7 +17,7 @@ spec:
http:
paths:
- path: /test
pathType: "Prefix"
pathType: "ImplementationSpecific"
backend:
service:
name: echoheaders-https