K8SPSMDB-1445 switch base image to RHEL 10 for PSMDB K8s Operator#2036
K8SPSMDB-1445 switch base image to RHEL 10 for PSMDB K8s Operator#2036
Conversation
build/Dockerfile
Outdated
| && cp -v "$0" /licenses/$(echo "$0" | sed -E "s/\/(license|notice).*$//gi")' {} \; | ||
|
|
||
| FROM registry.access.redhat.com/ubi9/ubi-minimal AS ubi9 | ||
| FROM registry.access.redhat.com/ubi10/ubi-minimal AS ubi10 |
There was a problem hiding this comment.
This new ubi10 version does not support Apple M3, which means that to build the operator locally on such a machine one would need to change this line back locally. There was this idea of making the FROM configurable to simplify the local development, so the question is - should we implement this in this or in a separate PR?
Another Q is - what's the impact? I mean, if for local development one uses ubi9 while the CI and the release are using ubi10 by default, could that cause any problems?
There was a problem hiding this comment.
since this is only the operator image, probability of this causing problems is low but of course we need be able to work on same image.
There was a problem hiding this comment.
At the same time, all tests will be run on the image with UBI10. And we can't say, sorry, we can't update the image because our laptops do not support it :)
commit: 5b95e3f |
CHANGE DESCRIPTION
Solution:
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability