summaryrefslogtreecommitdiffstats
path: root/helm/policy-models-simulator/templates/service.yaml
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-10-01 12:06:33 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2020-10-05 10:19:13 +0100
commit7edc7955d012fea43290b21bfd72d77d70ea4ec3 (patch)
tree0d4ab44ecad0ef051fb03cb04521aab35d4a2c3a /helm/policy-models-simulator/templates/service.yaml
parentbf47a0752450eaacc55176b4eec104693c94defc (diff)
Helm chart for policy-models-simulator
Issue-ID: POLICY-2828 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
Diffstat (limited to 'helm/policy-models-simulator/templates/service.yaml')
-rw-r--r--helm/policy-models-simulator/templates/service.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/helm/policy-models-simulator/templates/service.yaml b/helm/policy-models-simulator/templates/service.yaml
new file mode 100644
index 00000000..362ac93a
--- /dev/null
+++ b/helm/policy-models-simulator/templates/service.yaml
@@ -0,0 +1,30 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "policy-models-simulator.fullname" . }}
+ labels:
+{{ include "policy-models-simulator.labels" . | indent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.externalPort }}
+ targetPort: {{ .Values.service.internalPort }}
+ name: {{ .Values.service.portName }}
+ - port: {{ .Values.service.externalPort2 }}
+ targetPort: {{ .Values.service.internalPort2 }}
+ name: {{ .Values.service.portName }}2
+ - port: {{ .Values.service.externalPort3 }}
+ targetPort: {{ .Values.service.internalPort3 }}
+ name: {{ .Values.service.portName }}3
+ - port: {{ .Values.service.externalPort4 }}
+ targetPort: {{ .Values.service.internalPort4 }}
+ name: {{ .Values.service.portName }}4
+ - port: {{ .Values.service.externalPort5 }}
+ targetPort: {{ .Values.service.internalPort5 }}
+ name: {{ .Values.service.portName }}5
+ - port: {{ .Values.service.externalPort6 }}
+ targetPort: {{ .Values.service.internalPort6 }}
+ name: {{ .Values.service.portName }}6
+ selector:
+ app.kubernetes.io/name: {{ include "policy-models-simulator.name" . }}
+ app.kubernetes.io/instance: {{ .Release.Name }}