Summary
Create NetworkPolicy resources to restrict traffic to/from Server and CA pods.
Rules
- CA pods: only accept connections from Server pods and agents on port 8140
- Server pods: only accept connections from agents on port 8140, allow outgoing to PuppetDB
- Operator: restrict to Kubernetes API server communication only
CRD Addition (Config)
spec:
networkPolicy:
enabled: true
allowPuppetDBEgress: true
additionalIngress: []
additionalEgress: []
Refs #34