Create service.yaml

This commit is contained in:
Barahalikar Siddharth
2022-06-10 00:53:29 +05:30
committed by GitHub
parent 74de9573bd
commit c8089c75b3

View File

@@ -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 }}