Kong ingress controller
[it/dep.git] / nonrtric / helm / policymanagementservice / templates / ingress.yaml
index 67eac10..d981da5 100644 (file)
@@ -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