Applying the app-intel-device-plugins application fails with the
following error when using a custom image version stx.11.0-v0.32.1:
invalid resource: could not parse "stx.11.0-v0.32.1" as version
This error occurs because the upstream code expects a plain upstream
release version, rather than the custom STX image version, during
plugin image validation.
This commit introduces a patch that resolves the issue by extracting
the actual upstream release version (0.32.1) from the STX image
version (stx.11.0-v0.32.1) prior to validating the plugin images.
TEST PLAN:
PASS: ./build-stx-images.sh <..> --only intel-deviceplugin-operator
PASS: Compare the app apply results with 24.09 image and new custom
image. Parsing error should not occur.
Story: 2011407
Task: 52555
Change-Id: I2ec8f64e9e2dc20a73980fc225a56bb30b92bc9f
Signed-off-by: Md Irshad Sheikh <mdirshad.sheikh@windriver.com>