redhat-certification / chart-verifier

A rules-based tool to certify Helm Charts.
Apache License 2.0
55 stars 54 forks source link

Add EOL check for the cluster used for testing a chart (e.g. testedOpenShiftversion) #474

Open komish opened 1 month ago

komish commented 1 month ago

It's logical to make sure that either

The former makes more sense, but may be a bit complicated to implement. We may be able to add and manage this information in a library https://github.com/opdev/getocprange, or otherwise need to talk to Pyxis to get this information (which adds a network call).

acornett21 commented 1 month ago

The logic for what you need can be found below:

https://github.com/redhat-openshift-ecosystem/operator-certification-operator/blob/c4530a7b805e5a7fb6eff9176ae69de2fd47e5fd/internal/pyxis/pyxis.go#L31-L72