ip-helm/templates/service.yaml

16 lines
346 B
YAML
Raw Normal View History

2021-06-24 16:32:53 -04:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "ip.fullname" . }}
labels:
{{- include "ip.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "ip.selectorLabels" . | nindent 4 }}