Skip to content

Commit

Permalink
buckit ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
erulabs committed Aug 6, 2024
1 parent 30c6033 commit 5f3e55d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/prod/buckit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
metadata:
labels: { app: buckit }
spec:
terminationGracePeriodSeconds: 30
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
20 changes: 20 additions & 0 deletions k8s/prod/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
labels:
app: buckit
name: admin-internal-classdojo
annotations:
haproxy-ingress.github.io/allowlist-source-range: "10.0.0.0/8"
haproxy-ingress.github.io/config-backend: |
http-response set-header Access-Control-Allow-Origin *
http-response add-header X-Backend-Group s3-admin.internal.classdojo.com
spec:
ingressClassName: haproxy-ingress-internal
rules:
- host: admin.internal.classdojo.com
http:
paths:
- path: /
pathType: Prefix
backend: { service: { name: buckit, port: { name: http } } }

0 comments on commit 5f3e55d

Please sign in to comment.