From 2d6c27afbb1ca65e9950f821b596af8dac991206 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Thu, 26 Dec 2024 23:11:46 +0100 Subject: [PATCH] Add k9s-web --- apps/base/k9s-web/kustomization.yaml | 7 +++++++ apps/prod/k9s-web/ingress.yaml | 16 ++++++++++++++++ apps/prod/k9s-web/kustomization.yaml | 8 ++++++++ 3 files changed, 31 insertions(+) create mode 100644 apps/base/k9s-web/kustomization.yaml create mode 100644 apps/prod/k9s-web/ingress.yaml create mode 100644 apps/prod/k9s-web/kustomization.yaml diff --git a/apps/base/k9s-web/kustomization.yaml b/apps/base/k9s-web/kustomization.yaml new file mode 100644 index 0000000..bf32ce3 --- /dev/null +++ b/apps/base/k9s-web/kustomization.yaml @@ -0,0 +1,7 @@ +# /apps/base/k9s-web/kustomization.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: k9s + +resources: + - https://github.com/LordMathis/k9s-web/manifests?ref=main \ No newline at end of file diff --git a/apps/prod/k9s-web/ingress.yaml b/apps/prod/k9s-web/ingress.yaml new file mode 100644 index 0000000..b51c2c9 --- /dev/null +++ b/apps/prod/k9s-web/ingress.yaml @@ -0,0 +1,16 @@ +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: k9s-ingress + namespace: k9s +spec: + entryPoints: + - websecure + routes: + - match: Host(`k9s.example.com`) + kind: Rule + middlewares: + - name: "auth-authelia@kubernetescrd" + services: + - name: k9s-svc + port: 7681 diff --git a/apps/prod/k9s-web/kustomization.yaml b/apps/prod/k9s-web/kustomization.yaml new file mode 100644 index 0000000..681b2ef --- /dev/null +++ b/apps/prod/k9s-web/kustomization.yaml @@ -0,0 +1,8 @@ +# /apps/prod/k9s-web/kustomization.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: k9s + +resources: + - ../../base/k9s-web + - ingress.yaml \ No newline at end of file