aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2019-10-21 11:04:31 +0200
committerMarco Platania <platania@research.att.com>2019-11-04 14:01:54 +0000
commit68042495ef1e1e6dff7fed7fc2691b01cf672fe1 (patch)
tree7c84d170b19f3674586d268dda3671378471ec00 /heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml
parent5e1fea9785cad165c17e1b4bc2b79c671e8cd951 (diff)
Provide vFW CNF use case csar content
Issue-ID: INT-1259 Change-Id: I0bcd85725e7f102bdcdf813db0c0260526b5807d Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml')
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml b/heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml
new file mode 100644
index 00000000..51237692
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/packetgen/templates/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: "{{ .Values.vpg_name_0 }}-service"
+ labels:
+ app: {{ .Values.vnf_name }}
+ release: {{ .Release.Name }}
+ chart: {{ .Chart.Name }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.ports.port }}
+ nodePort: {{ .Values.service.ports.nodePort }}
+ selector:
+ app: {{ .Values.vnf_name }}
+ release: {{ .Release.Name }}