Skip to content

Commit

Permalink
Merge pull request #85 from entando-k8s/ENG-4766_Update-the-EntandoAp…
Browse files Browse the repository at this point in the history
…p-version-from-7.1-to-7.2-available-in-the-OLM-installation-screen

ENG-4766 changed version from 7.1 to 7.2
  • Loading branch information
entgigi authored Apr 13, 2023
2 parents 40a5919 + 428671e commit f33cfb3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EntandoAppHelper {

public static final String ENTANDO_APP_USE_TLS = "ENTANDO_APP_USE_TLS";
public static final String DEFAULT_ENTANDO_APP_VERSION = "6.4";
private static final String ENTANDO_APP_VERSION_7_1 = "7.1";
private static final String ENTANDO_APP_VERSION_7_2 = "7.2";

private EntandoAppHelper() {

Expand All @@ -50,8 +50,8 @@ public static String determineRealm(EntandoApp entandoApp, SsoConnectionInfo sso

public static String appendImageVersion(EntandoApp entandoApp, String imageName) {
String entandoAppVersion = entandoApp.getSpec().getEntandoAppVersion().orElse(DEFAULT_ENTANDO_APP_VERSION);
// 7.1 version will become 6.4 internally, so it is not required to change all the references to 6-4 when resolving the images
if (entandoAppVersion.equals(ENTANDO_APP_VERSION_7_1)) {
// 7.2 version will become 6.4 internally, so it is not required to change all the references to 6-4 when resolving the images
if (entandoAppVersion.equals(ENTANDO_APP_VERSION_7_2)) {
entandoAppVersion = DEFAULT_ENTANDO_APP_VERSION;
}
return imageName + "-" + entandoAppVersion.replace('.', '-');
Expand Down

0 comments on commit f33cfb3

Please sign in to comment.