From 156144d7ad84b5d6a58a67088d592854420e2417 Mon Sep 17 00:00:00 2001 From: Jabar Asadi Date: Wed, 5 Apr 2023 18:02:02 +0200 Subject: [PATCH] feat: add kubetunnel-proxy ingress config (#1122) feat: add ingress config --- services/kubetunnel/0.0.15/defaults/cm.yaml | 14 ++++++++++++++ services/traefik/20.8.0/defaults/cm.yaml | 1 + 2 files changed, 15 insertions(+) diff --git a/services/kubetunnel/0.0.15/defaults/cm.yaml b/services/kubetunnel/0.0.15/defaults/cm.yaml index c1a8f5c52..45e1f30ca 100644 --- a/services/kubetunnel/0.0.15/defaults/cm.yaml +++ b/services/kubetunnel/0.0.15/defaults/cm.yaml @@ -16,3 +16,17 @@ data: kubectlImage: repository: bitnami/kubectl tag: 1.24.6 + deploymentAnnotations: + secret.reloader.stakater.com/reload: "kubetunnel-reverseproxy-tls" + ingress: + enabled: true + annotations: + kubernetes.io/ingress.class: kommander-traefik + traefik.ingress.kubernetes.io/router.tls: "true" + path: /dkp/kubetunnel-proxy + pathType: Prefix + backend: + service: + name: kubetunnel-reverseproxy + port: + number: 9001 diff --git a/services/traefik/20.8.0/defaults/cm.yaml b/services/traefik/20.8.0/defaults/cm.yaml index 2e73e068a..5dda85990 100644 --- a/services/traefik/20.8.0/defaults/cm.yaml +++ b/services/traefik/20.8.0/defaults/cm.yaml @@ -68,6 +68,7 @@ data: - /dkp/kubernetes - /dkp/prometheus - /dkp/traefik + - /dkp/kubetunnel-proxy --- # Create stripprefix middleware for kubetunnel exposed services. # This expects that every TunnelGateway will be launched with