aboutsummaryrefslogtreecommitdiffstats
path: root/helm/ves-client/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/ves-client/templates/service.yaml')
-rw-r--r--helm/ves-client/templates/service.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/helm/ves-client/templates/service.yaml b/helm/ves-client/templates/service.yaml
new file mode 100644
index 0000000..ad67f9b
--- /dev/null
+++ b/helm/ves-client/templates/service.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "ves-client.fullname" . }}
+ labels:
+ {{- include "ves-client.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: {{ .Values.service.port }}
+ protocol: TCP
+ name: {{ .Values.service.port | quote }}
+ selector:
+ {{- include "ves-client.selectorLabels" . | nindent 4 }}