X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=nonrtric%2Fhelm%2Fpolicymanagementservice%2Ftemplates%2Fingress.yaml;fp=nonrtric%2Fhelm%2Fpolicymanagementservice%2Ftemplates%2Fingress.yaml;h=67eac10f572ba6c3fe0a7905cd842503eb6e0bf3;hb=082459c24ff29be551b43b1a64d81ba09dbfef04;hp=0000000000000000000000000000000000000000;hpb=866a34f4a876d61246b67ee6fc9ec066c7960ad2;p=it%2Fdep.git diff --git a/nonrtric/helm/policymanagementservice/templates/ingress.yaml b/nonrtric/helm/policymanagementservice/templates/ingress.yaml new file mode 100644 index 00000000..67eac10f --- /dev/null +++ b/nonrtric/helm/policymanagementservice/templates/ingress.yaml @@ -0,0 +1,34 @@ +################################################################################ +# Copyright (c) 2021 Nordix Foundation. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "common.name.policymanagementservice" . }} + namespace: {{ include "common.namespace.nonrtric" . }} + +spec: + ingressClassName: {{ include "common.ingressClassName" . }} + rules: + - http: + paths: + - backend: + service: + name: {{ include "common.name.policymanagementservice" . }} + port: + number: {{ .Values.policymanagementservice.service.internalPort1 }} + path: "/a1-policy" + pathType: Prefix