Skip to content
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

chore: Remove unused Che Postgres image #297

Closed
wants to merge 1 commit into from
Closed

Conversation

mkuznyetsov
Copy link
Contributor

Signed-off-by: Mykhailo Kuznietsov <[email protected]>
Copy link
Contributor

@tolusha tolusha left a comment

Choose a reason for hiding this comment

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

We can't replace
image: quay.io/eclipse/che-postgres:next
on
image: quay.io/eclipse/che--centos-postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392

They are quite different images.

@nickboldt
Copy link
Contributor

nickboldt commented May 4, 2022

We can't replace image: quay.io/eclipse/che-postgres:next on image: quay.io/eclipse/che--centos-postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392

They are quite different images.

But the only place we reference quay.io/eclipse/che-postgres is in the helm charts. In the CSV, we use quay.io/eclipse/che--centos-postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392 and the 13.3 version too.

Is the helm chart outdated? or do we actually need this old image there? And if we need it there, why do we use different postgres images for OpenShift?

See also eclipse-che/che#21348 and eclipse-che/che-docs#2313 (which has already been merged). Was that an error too?

@tolusha
Copy link
Contributor

tolusha commented May 4, 2022

Since installation with Helm is not equal to installation with operator some images are different.
Here is the Dockerfile [1] Besides PostgreSQL 9.6 image, it contains some configuration that is required only for Helm
So, simple replacement won't work. My suggestions are:

  1. Don't touch anything related to Helm here. Basically these charts are outdated, but maybe someone from community uses them
    or
  2. Completely remove everything related to HelmCharts

[1] https://github.com/eclipse-che/che-server/blob/main/dockerfiles/postgres/Dockerfile

@nickboldt
Copy link
Contributor

I guess this won't be merged. Sorry about that @mkuznyetsov -- should have spent more time discussing the requirement w/ @tolusha before we launched into a solution. :D

@nickboldt nickboldt closed this May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants