Skip to content

Conversation

@kvalliyurnatt
Copy link
Contributor

With 9.x release all images should be based off of ubi, so we should no longer need the -ubi suffix

@botelastic botelastic bot added the triage label Mar 6, 2025
@kvalliyurnatt kvalliyurnatt added >enhancement Enhancement of existing functionality v3.0.0 labels Mar 6, 2025
@botelastic botelastic bot removed the triage label Mar 6, 2025
Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change technically LGTM but should we document that it is intended that the suffix will no longer be set for 9.x?

Either here:

--- a/cmd/manager/main.go
+++ b/cmd/manager/main.go
@@ -322,7 +322,7 @@ func Command() *cobra.Command {
        cmd.Flags().Bool(
                operator.UBIOnlyFlag,
                false,
-               fmt.Sprintf("Use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. Cannot be combined with %s", operator.ContainerSuffixFlag),
+               fmt.Sprintf("Use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. Ignored from 9.x as default images are based on UBI. Cannot be combined with %s", operator.ContainerSuffixFlag),
        )
        cmd.Flags().Bool(
                operator.ValidateStorageClassFlag,

Or in the documentation?

@pebrc
Copy link
Collaborator

pebrc commented Mar 6, 2025

Change technically LGTM but should we document that it is intended that the suffix will no longer be set for 9.x?

Either here:

--- a/cmd/manager/main.go
+++ b/cmd/manager/main.go
@@ -322,7 +322,7 @@ func Command() *cobra.Command {
        cmd.Flags().Bool(
                operator.UBIOnlyFlag,
                false,
-               fmt.Sprintf("Use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. Cannot be combined with %s", operator.ContainerSuffixFlag),
+               fmt.Sprintf("Use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. Ignored from 9.x as default images are based on UBI. Cannot be combined with %s", operator.ContainerSuffixFlag),
        )
        cmd.Flags().Bool(
                operator.ValidateStorageClassFlag,

Or in the documentation?

+1 to that. I think if you add it as suggested by Michael and here https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-operator-config.html we should be good.

@kvalliyurnatt
Copy link
Contributor Author

Use only UBI container images to deploy Elastic Stack applications. UBI images are only available from 7.10.0 onward. Ignored from 9.x as default images are based on UBI. Cannot be combined with

I updated both the places. Thank you!

@kvalliyurnatt kvalliyurnatt requested a review from barkbay March 6, 2025 21:07
Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kvalliyurnatt kvalliyurnatt enabled auto-merge (squash) March 7, 2025 17:04
@kvalliyurnatt kvalliyurnatt merged commit 0185fd6 into elastic:main Mar 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement Enhancement of existing functionality v3.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants