Files
template-helm-chart-repository/templates/service.yaml
aleksandr.vodyanov 9dee441084 add helm chart files
2024-08-19 13:21:47 +03:00

16 lines
373 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "myHelmChart.fullname" . }}
labels:
{{- include "myHelmChart.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "myHelmChart.selectorLabels" . | nindent 4 }}