Add namespace selector to authentik network policy

This commit is contained in:
SeanOMik 2023-04-09 21:05:34 -04:00
parent 40d64865bc
commit 8b96a73ec4
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ spec:
matchLabels: matchLabels:
name: "database" name: "database"
- namespaceSelector:
matchLabels:
name: "media"
# Allow all pods with this label # Allow all pods with this label
- podSelector: - podSelector:
matchLabels: matchLabels: