X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=depRicKubernetesOperator%2Finternal%2Fcontroller%2FgetIngress.go;h=a4d224c990f60373d2223f727bfcdf1ad43d7518;hb=9c75c12b2a1e2296efd39040c8fab1d8821722d4;hp=101a430109b96ee3c0587ef4dfe5f0f6853003c2;hpb=af2fb6f7b53120ea3bd63c6965e3a377218bb05c;p=ric-plt%2Fric-dep.git diff --git a/depRicKubernetesOperator/internal/controller/getIngress.go b/depRicKubernetesOperator/internal/controller/getIngress.go index 101a430..a4d224c 100644 --- a/depRicKubernetesOperator/internal/controller/getIngress.go +++ b/depRicKubernetesOperator/internal/controller/getIngress.go @@ -62,6 +62,33 @@ func GetIngress() []*unstructured.Unstructured { }, }, } - - return []*unstructured.Unstructured{ingress1, ingress2} + + ingress3 := &unstructured.Unstructured{ + Object: map[string]interface{}{ + "apiVersion": "networking.k8s.io/v1beta1", + "kind": "Ingress", + "metadata": map[string]interface{}{ + "name": "ingress-ricplt-e2mgr", + }, + "spec": map[string]interface{}{ + "rules": []interface{}{ + map[string]interface{}{ + "http": map[string]interface{}{ + "paths": []interface{}{ + map[string]interface{}{ + "backend": map[string]interface{}{ + "serviceName": "service-ricplt-e2mgr-http", + "servicePort": 3800, + }, + "path": "/e2mgr", + }, + }, + }, + }, + }, + }, + }, + } + + return []*unstructured.Unstructured{ingress1, ingress2,ingress3} } \ No newline at end of file