The current Kubernetes integration in Port lacks granular control over relation mappings.
Without such control we face data integrity issues. This feature request proposes improvements to provide more flexible and robust relation mapping capabilities.
  • Per-Relation Entity Creation Control
Implement a flag for each relation mapping to control the creation of missing entities.
Replace the current global flag with individual controls for each relation.
  • Flexible Entity Creation on Missing Relations
Add an option to specify per relation whether to fail entity creation if the related entity doesn't exist. Implement a mechanism to create entities with a "relation sync issue" indicator when related entities are missing.
Benefits:
More granular control over entity creation and relationships
Reduced failures due to missing related entities
This feature will significantly enhance the flexibility and reliability of the Kubernetes integration in Port, allowing for more nuanced management of entity relationships and improving overall data consistency.