feat!: switch from ingress-nginx to traefik

This commit is contained in:
Devin Buhl committed 2021-08-26 08:51:40 -04:00
1 parent ae5e4429c4
commit 40dca8305c
31 files changed
+382 -55

No files matched your search

@@ -0,0 +1,28 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: traefik-dashboard
namespace: networking
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hajimari.io/enable: "true"
hajimari.io/icon: "web"
hajimari.io/appName: "traefik"
spec:
tls:
- hosts:
- "traefik.${SECRET_DOMAIN}"
secretName: "${SECRET_DOMAIN/./-}-tls"
rules:
- host: "traefik.${SECRET_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: traefik
port:
number: 9000
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ingress.yaml