Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 28, 2023
1 parent 8a15e4a commit 5b23650
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
40 changes: 20 additions & 20 deletions proxy/kube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: taxonium-proxy-deployment
spec:
replicas: 1 # Number of replicas
replicas: 1 # Number of replicas
selector:
matchLabels:
app: taxonium-proxy
Expand All @@ -13,11 +13,11 @@ spec:
app: taxonium-proxy
spec:
containers:
- name: taxonium-proxy
image: theosanderson/taxonium_proxy:master
imagePullPolicy: Always
ports:
- containerPort: 3000
- name: taxonium-proxy
image: theosanderson/taxonium_proxy:master
imagePullPolicy: Always
ports:
- containerPort: 3000

---
apiVersion: v1
Expand All @@ -37,20 +37,20 @@ kind: Ingress
metadata:
name: taxonium-proxy-ingress
annotations:
kubernetes.io/ingress.class: "nginx" # assuming you are using nginx ingress controller
kubernetes.io/ingress.class: "nginx" # assuming you are using nginx ingress controller
spec:
rules:
- host: proxy2.taxonium.org
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: taxonium-proxy-service
port:
number: 80
- host: proxy2.taxonium.org
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: taxonium-proxy-service
port:
number: 80
tls:
- hosts:
- proxy2.taxonium.org
secretName: tls-proxy
- hosts:
- proxy2.taxonium.org
secretName: tls-proxy
1 change: 0 additions & 1 deletion proxy/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const corsOptions = {

//app.use(cors(corsOptions));


// Rate limiting middleware
const limiter = rateLimit({
windowMs: 15 * 60 * 1000, // 15 minutes
Expand Down

0 comments on commit 5b23650

Please sign in to comment.