DB: Add egress ip rules fields
MR: Add egress ip options in remote development age... (!135497 - merged)
Description
Add DB fields to make egress IP rules configurable
Acceptance Criteria
-
New DB fields added network_policy_egress
toremote_development_agent_configs
table. -
This field is of jsonb
type. -
The acceptable json schema for network_policy_egress.allow
is a string andnetwork_policy_egress.except
is a list of strings. Each element of thenetwork_policy_egress.except
andnetwork_policy_egress.allow
is further validated to be a CIDR. -
The default value for network_policy_egress
is{ allow: "0.0.0.0/0", except: [ - "10.0.0.0/8", - "172.16.0.0/12", - "192.168.0.0/16" ] }
Edited by Vishal Tak