Skip to content

Support skipping ocimanagedmachinepool validation webhook that checks if image id has changed #426

@bender100

Description

@bender100

What would you like to be added:
the validation webhook check for oci managed machine pools assumes the image is tied to the k8s version however for teams using custom image, its tied to the oke node client which is part of user data and thus prevents an upgrade of node pools if image id does not change.

if an image has been provided in updated machine pool and it matches old image id, and if Kubernetes version has been updated, that means the image is not correct. If the version has been changed, the image should have been updated by the user, or set as nil in which case CAPOCI will lookup a correct image

Why is this needed:
This is needed so teams using custom images not tied to k8s version can upgrade node pools without being blocked by admission webhook

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions