Skip to content

Implement Webhook Validation for GCPMachinePool #1603

@justinsb

Description

@justinsb

As noted in the review of PR #1506, GCPMachinePool currently lacks comprehensive validation for its spec fields.

We need to implement ValidateCreate and ValidateUpdate webhooks to enforce field constraints (e.g., ensuring required fields are present, validating enums).

Where possible, we should share logic with the existing GCPMachine validation.

Relevant discussion: #1506 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions