X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fpolicymanagementservice%2Ftemplates%2Fingress.yaml;h=d981da562c11e927c5e3a3e26eec6469e725d860;hb=5142c8625abe92afb01c799079d743db5d400f07;hp=67eac10f572ba6c3fe0a7905cd842503eb6e0bf3;hpb=a31a9b3dc986ce76b763c210cf45e2212c95181a;p=it%2Fdep.git diff --git a/nonrtric/helm/policymanagementservice/templates/ingress.yaml b/nonrtric/helm/policymanagementservice/templates/ingress.yaml index 67eac10f..d981da56 100644 --- a/nonrtric/helm/policymanagementservice/templates/ingress.yaml +++ b/nonrtric/helm/policymanagementservice/templates/ingress.yaml @@ -1,3 +1,4 @@ +{{/* ################################################################################ # Copyright (c) 2021 Nordix Foundation. # # # @@ -13,7 +14,9 @@ # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ +*/}} +{{- if .Values.policymanagementservice.ingress.enabled -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -32,3 +35,4 @@ spec: number: {{ .Values.policymanagementservice.service.internalPort1 }} path: "/a1-policy" pathType: Prefix +{{- end -}} \ No newline at end of file