Skip to content

Commit

Permalink
Update firewall.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tlongwell-block authored Jun 27, 2024
1 parent ee686c5 commit d371107
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion backend/helm-charts/templates/firewall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ spec:
- source:
namespaces: ["{{ .Release.Namespace }}"]
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: dapreg-oauth
spec:
action: CUSTOM
provider:
name: "oauth2-proxy"
rules:
- to:
- operation:
paths: ["/admin*"]
hosts:
- "{{ .Values.dns }}"
---
# this lets app receive traffic from common ingress gateway
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
Expand All @@ -24,4 +39,4 @@ spec:
- "{{ .Values.dns }}"
- from:
- source:
namespaces: [istio-system"]
namespaces: [istio-system"]

0 comments on commit d371107

Please sign in to comment.