2021-03-31 11:52:02 +02:00

16 lines
382 B
YAML

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