adding bitwarden ESO and secrets
This commit is contained in:
21
infra/eso/bw-cli-netpol.yaml
Normal file
21
infra/eso/bw-cli-netpol.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: bw-cli
|
||||
namespace: infra
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: bitwarden-cli
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- from:
|
||||
# ESO pods (app.kubernetes.io/name: external-secrets) in the external-secrets namespace.
|
||||
# Both podSelector AND namespaceSelector must match for cross-namespace traffic.
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: external-secrets
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: external-secrets
|
||||
Reference in New Issue
Block a user