-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use eck-operator UBI image when ubiOnly=true. #7486
Use eck-operator UBI image when ubiOnly=true. #7486
Conversation
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
We don't build Example if it is only for nightly diff --git a/.buildkite/scripts/common/operator-image.sh b/.buildkite/scripts/common/operator-image.sh
index 64d62b073..4c4e81ba3 100644
--- a/.buildkite/scripts/common/operator-image.sh
+++ b/.buildkite/scripts/common/operator-image.sh
@@ -50,7 +50,8 @@ operator::set_build_flavors_var() {
if [[ "${BUILD_FLAVORS:-}" == "" ]]; then
case $trigger in
tag-*) BUILD_FLAVORS="eck,eck-dev,eck-fips,eck-ubi,eck-ubi-fips" ;;
- *-main) BUILD_FLAVORS="eck,eck-dev" ;;
+ merge-main) BUILD_FLAVORS="eck,eck-dev" ;;
+ nightly-main) BUILD_FLAVORS="eck,eck-dev,eck-ubi" ;;
*-test-snapshot) BUILD_FLAVORS="eck,eck-dev" ;;
pr-*|merge-xyz) BUILD_FLAVORS="eck" ;;
dev) BUILD_FLAVORS="dev" ;;
|
Thank you. Upon looking through these options, I suspect |
This just happened to be me testing on a branch where snapshot was set, and no way was intended to mean that we should build these on for all SNAPSHOT builds... |
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM but are we okay with changing the existing behavior by forcing the use of the -ubi
image when the Helm config.ubiOnly
value is enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's maybe update the comment here if this setting does not only control the stack images:
cloud-on-k8s/deploy/eck-operator/values.yaml
Line 226 in 3ab46dd
# ubiOnly specifies whether the operator will use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. |
Let's also create an issue so we don't forget to mention this change in the next release notes?
Other than that, I think I'm ok with this change, but @thbkrkr's comment is relevant, curious to know if there are other opinions.
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
#7485 exists and is tagged with the next release. Is this what you were intending? |
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
Sorry, I meant an issue to maybe add a short sentence to mention this change in the highlights. |
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
I've added the |
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
I have to confess that as a release manager I'm not sure I've ever used it 😬 . We should maybe update our release process. |
I just updated the documentation/template mentioning this tag during writing of the release highlights. |
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
resolves #7485
Ensure we use the
-ubi
operator image whenubiOnly
is set totrue
.