2021-07-31 14:04:27 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2021-08-02 06:20:14 +00:00
|
|
|
name: "{{ .Release.Name }}"
|
2021-07-31 14:04:27 +00:00
|
|
|
labels:
|
|
|
|
app: openldap
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
2021-08-02 06:20:14 +00:00
|
|
|
selector:
|
|
|
|
app: "{{ tpl .Values.identifier . }}-openldap"
|
2021-07-31 14:04:27 +00:00
|
|
|
ports:
|
|
|
|
- port: 389
|
|
|
|
name: ldap
|
|
|
|
- port: 636
|
|
|
|
name: ldaps
|
2021-08-02 07:49:28 +00:00
|
|
|
# Required for TLS certificate generation via LetsEncrypt.
|
|
|
|
- port: 80
|
|
|
|
name: http
|