medik8s / node-maintenance-operator

Kubernetes Operator to manage node maintenance through NodeMaintenance custom resources
https://www.medik8s.io/maintenance-node/
Apache License 2.0
27 stars 13 forks source link

Extend Bundle Validation with Three more Validators #64

Closed razo7 closed 1 year ago

razo7 commented 1 year ago

Running the operator-sdk validation without any flags validates the bundle format and conforms it's contents to what is allowed in a registry+v1 bundle (see ValidateBundleFormat and ValidateBundleContent functions).

This PR extends our bundle validation to three more validators (from operatorframework suite):

To see more options for using the bundle validation - Please run operator-sdk bundle validate --list-optional

razo7 commented 1 year ago

/retest

razo7 commented 1 year ago

After understanding that we don't have preference on Kubernetes version for validating deprecated APIs, then we use bundle.CSV.Spec.MinKubeVersion value.

PR's title and description have been updated.

razo7 commented 1 year ago

/retest

razo7 commented 1 year ago

/retest

razo7 commented 1 year ago

/retest

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clobrano, razo7, slintes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/medik8s/node-maintenance-operator/blob/main/OWNERS)~~ [clobrano,razo7,slintes] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
razo7 commented 1 year ago

/retest

razo7 commented 1 year ago

/retest

razo7 commented 1 year ago

/retest