apiVersion: v1
kind: Service
metadata:
  namespace: public-service
  labels:
    app: ldap
  name: ldap-service
spec:
  ports:
    - name: openldap
      protocol: TCP
      port: 389
      targetPort: openldap
    - name: ssl-ldap-port
      protocol: TCP
      port: 636
      targetPort: ssl-ldap-port
  selector:
    app: ldap
