feat(cluster): add error-pages (#207)
This commit is contained in:
1 parent
141f6ad107
commit
63d077e1dd
7 files changed
+82
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: error-pages
|
||||
namespace: networking
|
||||
spec:
|
||||
errors:
|
||||
status:
|
||||
- "400-599"
|
||||
query: /{status}.html
|
||||
service:
|
||||
name: error-pages
|
||||
port: 8080
|
||||
@@ -2,5 +2,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- error-pages.yaml
|
||||
- cloudflare-only.yaml
|
||||
- internal-only.yaml
|
||||
Reference in new issue
Block a user