From f21b66f87bef5dbcf9e44b72463f869b27cf59fe Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 22 Nov 2024 03:55:21 +0100 Subject: [PATCH] Added ingress for lldap --- apps/lldap/ingress.yaml | 18 ++++++++++++++++++ apps/lldap/kustomization.yaml | 1 + 2 files changed, 19 insertions(+) create mode 100644 apps/lldap/ingress.yaml 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