Skip to content

Commit

Permalink
Fix network policy for exposure classes. (gardener#7459)
Browse files Browse the repository at this point in the history
NetworkPolicy `allow-to-dns` was missing for istio-igressgateways of
exposure classes.
  • Loading branch information
axel7born authored Feb 7, 2023
1 parent 3ccfb74 commit a78fe3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gardenlet/controller/networkpolicy/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func (r *Reconciler) networkPolicyConfigs() []networkPolicyConfig {
labels.SelectorFromSet(labels.Set{v1beta1constants.GardenRole: v1beta1constants.GardenRoleShoot}),
labels.SelectorFromSet(labels.Set{v1beta1constants.GardenRole: v1beta1constants.GardenRoleIstioSystem}),
labels.SelectorFromSet(labels.Set{v1beta1constants.GardenRole: v1beta1constants.GardenRoleIstioIngress}),
labels.SelectorFromSet(labels.Set{v1beta1constants.GardenRole: v1beta1constants.GardenRoleExposureClassHandler}),
},
},
}
Expand Down

0 comments on commit a78fe3e

Please sign in to comment.