Skip to content

Persist field to support shared namespace in agent configuration

What does this MR do and why?

Stores the provided shared_namespace in the agent configuration when it is provided and also saves in the database. If the value is not provided, it is not set.

References

#519256 (closed)

Screenshots or screen recordings

N/A - it's a back-end update to persist in the database.

How to set up and validate locally

  1. Update the agent configuration to not explicitly specify the shared_namespace and verify the record in the database and has the shared_namespace value as ''.
    remote_development:
      enabled: true
      dns_zone: workspaces.cocreate.test
  2. Update the agent configuration to explicitly specify the shared_namespace and verify the record in the database and has the shared_namespace value correctly set.
    remote_development:
      enabled: true
      dns_zone: workspaces.cocreate.test
      shared_namespace: "test"

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by rohit k

Merge request reports

Loading