Fix spacing issues in YAML files in heat
[demo.git] / heat / vFW_CNF_CDS / templates / helm / base_template / templates / protected-private-net.yaml
index f7dbfc4..5c4144e 100644 (file)
@@ -4,9 +4,11 @@ metadata:
   name: {{ .Values.int_private2_net_id }}
   labels:
     vnf-name: {{ .Values.vnf_name }}
+    release: {{ .Release.Name }}
+    chart: {{ .Chart.Name }}
 spec:
-  cniType : ovn4nfv
+  cniType: ovn4nfv
   ipv4Subnets:
   - name: {{ .Values.int_private2_subnet_id }}
     subnet: {{ .Values.int_private2_net_cidr }}
-    gateway: {{ .Values.int_private2_gw_ip }}
+    gateway: {{ .Values.int_private2_gw_ip }}/{{ (splitn "/" 2 .Values.int_private2_net_cidr)._1 }}