fukuops/k8s/charts/lldap/templates/service.yaml

19 lines
462 B
YAML

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