Skip to content

Commit

Permalink
[stable/redis-ha]: Allow DNS requests to local network
Browse files Browse the repository at this point in the history
- In some situations (GKE cluster with [Cloud DNS](https://cloud.google.com/kubernetes-engine/docs/how-to/cloud-dns#architecture)), the DNS server is configured on the local network IP range
  (169.254.0.0/16), so we should allow this CIDR in the default network policy.

Signed-off-by: Laurent Lavaud <[email protected]>
  • Loading branch information
llavaud committed Aug 7, 2024
1 parent 37363dc commit 1cdc379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/redis-ha/templates/redis-ha-network-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ spec:
protocol: TCP
- to:
- namespaceSelector: {}
- ipBlock:
cidr: 169.254.0.0/16
ports:
- port: 53
protocol: UDP
Expand Down

0 comments on commit 1cdc379

Please sign in to comment.