Skip to content
Snippets Groups Projects
Commit 1f9572a7 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

add path type

parent cf2e2a97
Branches
No related tags found
1 merge request!159Resolve "Integration Tests Fail"
Pipeline #73711 passed with warnings
...@@ -364,6 +364,7 @@ func createConfigMap(env string) *corev1.ConfigMap { ...@@ -364,6 +364,7 @@ func createConfigMap(env string) *corev1.ConfigMap {
} }
func createIngress(env string) *netv1.Ingress { func createIngress(env string) *netv1.Ingress {
pathType := netv1.PathTypeImplementationSpecific
return &netv1.Ingress{ return &netv1.Ingress{
TypeMeta: metav1.TypeMeta{ TypeMeta: metav1.TypeMeta{
Kind: "Ingress", Kind: "Ingress",
...@@ -386,6 +387,7 @@ func createIngress(env string) *netv1.Ingress { ...@@ -386,6 +387,7 @@ func createIngress(env string) *netv1.Ingress {
HTTP: &netv1.HTTPIngressRuleValue{ HTTP: &netv1.HTTPIngressRuleValue{
Paths: []netv1.HTTPIngressPath{ Paths: []netv1.HTTPIngressPath{
{ {
PathType: &pathType,
Backend: netv1.IngressBackend{ Backend: netv1.IngressBackend{
Service: &netv1.IngressServiceBackend{ Service: &netv1.IngressServiceBackend{
Name: env, Name: env,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment