We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea80050 + 9a357bf commit 9c98ccdCopy full SHA for 9c98ccd
pkg/devfile/generator/utils.go
@@ -339,6 +339,7 @@ func getIngressSpec(ingressSpecParams IngressSpecParams) *extensionsv1.IngressSp
339
// getNetworkingV1IngressSpec gets a networking v1 ingress spec
340
func getNetworkingV1IngressSpec(ingressSpecParams IngressSpecParams) *networkingv1.IngressSpec {
341
path := "/"
342
+ pathTypeImplementationSpecific := networkingv1.PathTypeImplementationSpecific
343
if ingressSpecParams.Path != "" {
344
path = ingressSpecParams.Path
345
}
@@ -359,6 +360,8 @@ func getNetworkingV1IngressSpec(ingressSpecParams IngressSpecParams) *networking
359
360
},
361
362
363
+ //Field is required to be set based on attempt to create the ingress
364
+ PathType: &pathTypeImplementationSpecific,
365
366
367
0 commit comments