aboutsummaryrefslogtreecommitdiffstats
path: root/kud/demo/firewall/charts/sink/templates/service.yaml
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-05-23 06:15:38 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-23 06:15:38 +0000
commit3eeb40cfe56366ca72e811bdfb6f2faf127f8a2f (patch)
tree117e0f312d5341692776f8255510fb7c4cd667df /kud/demo/firewall/charts/sink/templates/service.yaml
parent352080a39d582a767d5908ab3372ac10d59a2261 (diff)
parent69fe1e369c4afa19552179fe297778a6ca32e48d (diff)
Merge "Adding helm charts for vFirewall."
Diffstat (limited to 'kud/demo/firewall/charts/sink/templates/service.yaml')
-rw-r--r--kud/demo/firewall/charts/sink/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/kud/demo/firewall/charts/sink/templates/service.yaml b/kud/demo/firewall/charts/sink/templates/service.yaml
new file mode 100644
index 00000000..99da7de7
--- /dev/null
+++ b/kud/demo/firewall/charts/sink/templates/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: sink-service
+ labels:
+ app: {{ include "sink.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: {{ include "sink.name" . }}
+ release: {{ .Release.Name }}