feat!: switch from ingress-nginx to traefik
This commit is contained in:
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
|
||||
Reference in new issue
Block a user