diff --git a/apps/lldap/ingress.yaml b/apps/lldap/ingress.yaml new file mode 100644 index 0000000..1043361 --- /dev/null +++ b/apps/lldap/ingress.yaml @@ -0,0 +1,18 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: lldap +spec: + entryPoints: + - websecure + routes: + - match: Host(`users.${domain}`) + kind: Rule + middlewares: + - name: default-headers + namespace: default + services: + - name: lldap + port: 17170 + tls: + secretName: ${domain//./-}-tls diff --git a/apps/lldap/kustomization.yaml b/apps/lldap/kustomization.yaml index b225e33..8e68e66 100644 --- a/apps/lldap/kustomization.yaml +++ b/apps/lldap/kustomization.yaml @@ -6,6 +6,7 @@ resources: - ./secret.yaml - ./deployment.yaml - ./service.yaml + - ./ingress.yaml components: - ../../common/postgres