Skip to content

Commit

Permalink
Merge branch 'errbot-changes' into 'master'
Browse files Browse the repository at this point in the history
Explicitly specify namespace in network policy allow rule

See merge request kubernetes/k8id!917
  • Loading branch information
KlavsKlavsen committed Jun 30, 2023
2 parents 027f617 + 841a4a8 commit a03d71e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/kube-prometheus/common-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ local kp =
},
{
from: [{
namespaceSelector: {
matchLabels: {
'kubernetes.io/metadata.name': 'mattermost',
},
},
podSelector: {
matchLabels: {
'k8id.io/permissions': 'allow-prometheus',
Expand Down

0 comments on commit a03d71e

Please sign in to comment.