feat: traefik

This commit is contained in:
auricom
2021-08-06 11:29:16 +02:00
parent 4f7c2b0a15
commit 86fd42fd3e
29 changed files with 468 additions and 134 deletions

View File

@@ -0,0 +1,23 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: traefik-dashboard
namespace: networking
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
spec:
tls:
- secretName: "${SECRET_CLUSTER_DOMAIN/./-}-tls"
rules:
- host: traefik.${SECRET_CLUSTER_DOMAIN}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: traefik
port:
number: 9000

View File

@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress.yaml