From 162bf717b8734a03b9675e2c5eeb710943b09966 Mon Sep 17 00:00:00 2001 From: Hongbo Miao Date: Thu, 12 May 2022 10:12:46 -0700 Subject: [PATCH] chore(traefik): add localPlugins method --- README.md | 2 +- kubernetes/manifests/hasura/hasura-deployment.yaml | 1 + kubernetes/manifests/hasura/traefik-configmap.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b53d81af0d..309b9e79cd 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Personal cutting-edge technology lab. This diagram shows the architecture of this repository. -It is way over-engineering. So make sure to know the tradeoffs before onboarding any technology to your project. +It is way over-engineering. Please make sure to know the tradeoffs before onboarding any technology to your project! ![Architecture](https://user-images.githubusercontent.com/3375461/167378081-c185f31c-4c48-413f-aabb-b85a765d2eb9.png) diff --git a/kubernetes/manifests/hasura/hasura-deployment.yaml b/kubernetes/manifests/hasura/hasura-deployment.yaml index 7b236baeb8..f9f3d8cf6a 100644 --- a/kubernetes/manifests/hasura/hasura-deployment.yaml +++ b/kubernetes/manifests/hasura/hasura-deployment.yaml @@ -136,6 +136,7 @@ spec: volumeMounts: - name: log-volume mountPath: /tmp/log + # - image: ghcr.io/hongbo-miao/hm-traefik:latest - image: traefik:v2.6.6 name: traefik ports: diff --git a/kubernetes/manifests/hasura/traefik-configmap.yaml b/kubernetes/manifests/hasura/traefik-configmap.yaml index f7c788da13..8b831a049d 100644 --- a/kubernetes/manifests/hasura/traefik-configmap.yaml +++ b/kubernetes/manifests/hasura/traefik-configmap.yaml @@ -28,6 +28,9 @@ data: - 5.0 ping: {} experimental: + # localPlugins: + # traefik-plugin-disable-graphql-introspection: + # moduleName: "github.com/Hongbo-Miao/traefik-plugin-disable-graphql-introspection" plugins: traefik-plugin-disable-graphql-introspection: moduleName: "github.com/Hongbo-Miao/traefik-plugin-disable-graphql-introspection"