From c8089c75b3a0b2cf4642f57e72a1d08d93865acd Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Fri, 10 Jun 2022 00:53:29 +0530 Subject: [PATCH] Create service.yaml --- helm-chart/templates/service.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 helm-chart/templates/service.yaml diff --git a/helm-chart/templates/service.yaml b/helm-chart/templates/service.yaml new file mode 100644 index 0000000..2f4c647 --- /dev/null +++ b/helm-chart/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Release.Name }}-helm + labels: + {{- include "random-shapes.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "random-shapes.selectorLabels" . | nindent 4 }}