Add namespace selector to authentik network policy
This commit is contained in:
parent
40d64865bc
commit
8b96a73ec4
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue