feat(traefik): 移除traefik
这个提交包含在:
@@ -1,61 +0,0 @@
|
|||||||
apiVersion: helm.cattle.io/v1
|
|
||||||
kind: HelmChartConfig
|
|
||||||
metadata:
|
|
||||||
name: traefik
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
valuesContent: |-
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: svccontroller.k3s.cattle.io/enablelb
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- "true"
|
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/master"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
updateStrategy:
|
|
||||||
rollingUpdate:
|
|
||||||
maxUnavailable: 1
|
|
||||||
maxSurge: 0
|
|
||||||
deployment:
|
|
||||||
kind: DaemonSet
|
|
||||||
dnsPolicy: None
|
|
||||||
dnsConfig:
|
|
||||||
nameservers:
|
|
||||||
- 169.254.20.10
|
|
||||||
- 10.43.0.10
|
|
||||||
hostNetwork: true
|
|
||||||
service:
|
|
||||||
spec:
|
|
||||||
externalTrafficPolicy: Local
|
|
||||||
ports:
|
|
||||||
web:
|
|
||||||
forwardedHeaders:
|
|
||||||
insecure: true
|
|
||||||
proxyProtocol:
|
|
||||||
insecure: true
|
|
||||||
websecure:
|
|
||||||
forwardedHeaders:
|
|
||||||
insecure: true
|
|
||||||
proxyProtocol:
|
|
||||||
insecure: true
|
|
||||||
http3:
|
|
||||||
enabled: false
|
|
||||||
ssh:
|
|
||||||
port: 8022
|
|
||||||
expose: true
|
|
||||||
exposedPort: 22
|
|
||||||
providers:
|
|
||||||
kubernetesCRD:
|
|
||||||
allowCrossNamespace: true
|
|
||||||
additionalArguments:
|
|
||||||
- "--experimental.plugins.cache.moduleName=github.com/darkweak/souin"
|
|
||||||
- "--experimental.plugins.souin.version=v1.6.47"
|
|
||||||
experimental:
|
|
||||||
plugins:
|
|
||||||
enabled: true
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: https-only
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
routes:
|
|
||||||
- kind: Rule
|
|
||||||
match: PathPrefix(`/`)
|
|
||||||
priority: 1
|
|
||||||
middlewares:
|
|
||||||
- name: https-only
|
|
||||||
services:
|
|
||||||
- kind: TraefikService
|
|
||||||
name: noop@internal
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: gateway
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- kind: Rule
|
|
||||||
match: Host(`gateway.dev.cm`)
|
|
||||||
middlewares:
|
|
||||||
- name: compress
|
|
||||||
services:
|
|
||||||
- kind: TraefikService
|
|
||||||
name: dashboard@internal
|
|
||||||
---
|
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: gateway-api
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- kind: Rule
|
|
||||||
match: Host(`gateway.dev.cm`) && PathPrefix(`/api`)
|
|
||||||
services:
|
|
||||||
- kind: TraefikService
|
|
||||||
name: api@internal
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: compress
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
compress: {}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: https-only
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
redirectScheme:
|
|
||||||
scheme: https
|
|
||||||
permanent: true
|
|
||||||
在新议题中引用
屏蔽一个用户