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