From 62a70171b4e3626221656fea543b331e54ed53f1 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Sun, 29 Sep 2024 21:51:14 +0200 Subject: [PATCH] ingress for vcluster --- vcluster/aaron.yaml | 5 +++++ vcluster/ingress-aaron.yaml | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 vcluster/ingress-aaron.yaml diff --git a/vcluster/aaron.yaml b/vcluster/aaron.yaml index 395e617..a734d9e 100644 --- a/vcluster/aaron.yaml +++ b/vcluster/aaron.yaml @@ -16,6 +16,11 @@ controlPlane: statefulSet: highAvailability: replicas: 3 + proxy: + extraSANs: + - vcluster.k8s.ar21.de +exportKubeConfig: + server: https://vcluster.k8s.ar21.de:443 sync: toHost: ingresses: diff --git a/vcluster/ingress-aaron.yaml b/vcluster/ingress-aaron.yaml new file mode 100644 index 0000000..d07c8e4 --- /dev/null +++ b/vcluster/ingress-aaron.yaml @@ -0,0 +1,15 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRouteTCP +metadata: + name: vcluster-ingress + namespace: vcluster-ar +spec: + entryPoints: + - websecure + routes: + - match: HostSNI(`vcluster.k8s.ar21.de`) + services: + - name: ar + port: 443 + tls: + passthrough: true