summaryrefslogtreecommitdiff
path: root/data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml')
-rw-r--r--data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml14
1 files changed, 6 insertions, 8 deletions
diff --git a/data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml b/data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml
index 1520b3c..76aea0f 100644
--- a/data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml
+++ b/data.d/k3s-master/manifests.d/tyilnet/auth-system/lldap/service.yaml
@@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
- name: lldap-http-service
+ name: lldap
namespace: auth-system
labels:
app.kubernetes.io/created-by: tyil
@@ -17,7 +17,7 @@ spec:
app.kubernetes.io/part-of: auth-system
ports:
- name: http
- port: 17170
+ port: 80
targetPort: 17170
...
---
@@ -27,7 +27,7 @@ metadata:
# This port may _not_ be named "lldap_ldap", as the application itself wants
# to use LLDAP_LDAP_PORT, which Kubernetes will override with a value the
# application can't handle.
- name: lldap-ldap-service
+ name: ldap
namespace: auth-system
labels:
app.kubernetes.io/created-by: tyil
@@ -40,14 +40,12 @@ spec:
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: lldap
app.kubernetes.io/part-of: auth-system
- type: NodePort
+ type: LoadBalancer
ports:
- name: ldap
- port: 3890
+ port: 389
targetPort: 3890
- nodePort: 3890
- name: ldaps
- port: 6360
+ port: 636
targetPort: 6360
- nodePort: 6360
...