Skip to content

Commit

Permalink
Add a backend config to associate browser service with cloudarmor policy
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahl committed Nov 15, 2023
1 parent 0eb6920 commit 6856972
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/deployctl/subcommands/ingress_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
name: gnomad-browser
labels:
tier: production
annotations:
cloud.google.com/backend-config: '{"ports": {"80":"gnomad-backend-config"}}'
spec:
type: NodePort
selector:
Expand Down
7 changes: 7 additions & 0 deletions deploy/manifests/ingress/gnomad.backendconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
name: gnomad-backend-config
spec:
securityPolicy:
name: 'deny-problematic-requests'

0 comments on commit 6856972

Please sign in to comment.