[go: up one dir, main page]

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 to remote_development_agent_configs table.

  • This field is of jsonb type.

  • The acceptable json schema for network_policy_egress.allow is a string and network_policy_egress.except is a list of strings. Each element of the network_policy_egress.except and network_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