Add labels and annotations to Org namespace on control-plane #96

Open
opened 2025-06-06 07:26:40 +00:00 by tobru · 0 comments
Owner

Stories

As an admin, I want to see additional information about a namespace in the control-plane

We generate the organization namespace to be org-$ID, which lacks information when working directly on the control-plane.

Implementation Notes

When creating a namespace in the control-plane, set the following metadata:

Labels:

  • servala.com/organization_id = $Organization.id
  • servala.com/erp_company_id = $Organization.billing_entity.odoo_company_id
  • servala.com/erp_invoice_id = $Organization.billing_entity.odoo_invoice_id

Annotations:

  • servala.com/organization = $Organization.name
  • servala.com/billing = $Organization.billing_entity.name
  • servala.com/origin = $Organization.OrganizationOrigin.name
  • servala.com/origin = $Organization.sales_order

Refs:

## Stories _As an admin, I want to see additional information about a namespace in the control-plane_ We generate the organization namespace to be `org-$ID`, which lacks information when working directly on the control-plane. ## Implementation Notes When creating a namespace in the control-plane, set the following metadata: Labels: * `servala.com/organization_id = $Organization.id` * `servala.com/erp_company_id = $Organization.billing_entity.odoo_company_id` * `servala.com/erp_invoice_id = $Organization.billing_entity.odoo_invoice_id` Annotations: * `servala.com/organization = $Organization.name` * `servala.com/billing = $Organization.billing_entity.name` * `servala.com/origin = $Organization.OrganizationOrigin.name` * `servala.com/origin = $Organization.sales_order` Refs: - https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ - https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
tobru added the
enhancement
label 2025-06-06 07:26:40 +00:00
tobru added this to the Servala Portal project 2025-06-06 07:26:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#96
No description provided.