ironcore-dev/metal-operator

Validating Webhook for `ServerClaim`

afritzler opened this issue · 0 comments

Description:
Implement a validating webhook for the ServerClaim type to ensure that .spec.serverRef, once set, can never be changed.

Acceptance Criteria:

  • A validating webhook is created for the ServerClaim type.
  • The webhook verifies that .spec.serverRef is immutable after its initial set.
  • Appropriate error messages are provided if an attempt is made to change .spec.serverRef.
  • Unit test ensuring the correct behavior