apiVersion: v1
kind: Service
metadata:
  name: ldap-svc
  namespace: hpe-ldap
  labels:
    hpe.com/cluster: ldap
    hpe.com/component: ldap-svc
    hpe.com/namespacetype: dataplatform
    hpe.com/version: 6.3.0
spec:
  clusterIP: None
  ports:
    - name: openldap
      port: 389
      protocol: TCP
      targetPort: 389
    - name: openldaps
      port: 636
      protocol: TCP
      targetPort: 636
  selector:
    hpe.com/component: ldap
  sessionAffinity: None
  type: ClusterIP
