Skip to content

Conversation

@eshulman2
Copy link
Contributor

Metadata support

  • Add metadata field to ServerResourceSpec for key-value pairs
  • Metadata is mutable and reconciled after server creation

Add metadata field to server controller allowing setting metadata on servers created by orc
@github-actions github-actions bot added the semver:minor Backwards-compatible change label Jan 8, 2026
Copy link
Contributor

@winiciusallan winiciusallan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bullseye 🎯

Just a small question to check if I understood correctly. Why do we need reconcileMetadata exactly? Can't we create it and update it on updateResource?

@mandre
Copy link
Collaborator

mandre commented Jan 9, 2026

Bullseye 🎯

Just a small question to check if I understood correctly. Why do we need reconcileMetadata exactly? Can't we create it and update it on updateResource?

We're using a different reconcile function because, while we could add metadata at server creation, the server update and the metadata update are two different API calls, and it's easier to ensure atomicity and idempotency this way.

@mandre mandre added this pull request to the merge queue Jan 9, 2026
Merged via the queue into k-orc:main with commit 04cd561 Jan 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants