Update network policy egress in remote development agent configs
What does this MR do and why?
Issue: Backend: Updates to agent configuration updates... (#427235 - closed)
Depends on: Add egress ip options in remote development age... (!135497 - merged)
Update network policy egress in remote development agent configs
Set all workspaces of the agent to force include all resources when the configuration of the agent is updated.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Configure an agent with the following configuration
remote_developemnt:
enabled: true
network_policy:
enabled: true
egress:
- allow: '0.0.0.0/0
except:
- '10.0.0.0/8'
- allow: '10.0.0.0/32
- Verify that the
network_policy_egressis set to[{ "allow": "0.0.0.0/0", "except": ["10.0.0.0/8"] }, { "allow": "10.0.0.0/32" }]in theremote_development_agent_configstable for the given agent. - Verify that all the
workspacesfor the given agent haveforce_include_all_resources: trueimmediately after the update.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vishal Tak