* Move image related default variables to the operator env.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Fix tests.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Use the same env name for CRW and Upstream Che
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Clean up.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Improve most che-operator env names
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Use cheImage instead of repo only in the envs. Rename cheImageTag to cheVersion.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Add forgotten che-image tag to IMAGE_default_che_server
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Add some logic for back compatibilty with Che 7.8.0
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Handle one of the realese scripts.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Fix GetFullCheServerImageLink
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
* Remove extra_images.go
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
* Fix tests
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
* Improve release scripts.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Add docker images env to operator-local.yaml
Signed-off-by: flacatus <flacatus@redhat.com>
* Che 15874 - fix wrong docker images and update olm files (#174)
* Fix wrong docker images values
The docker images set in this GH repo should be the upstream ones,
not the CRW ones
Signed-off-by: David Festal <dfestal@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Flavius Lacatusu <59865209+flacatus@users.noreply.github.com>
Co-authored-by: David Festal <dfestal@redhat.com>
* Determine if we are in airgap mode and patch the images appropriately
* Do the rest of the images in the che deployment
* Add map of extra images for airgap
* Add a script to generate extra_images.go, only add the extra images data to che configmap if we are in airgap mode
* Download the release version of che.properties
* Remove unnecessary properties
* Remove airGapMode boolean, make it so that setting either the airGapHostname/Organization will start the deployment in airgap mode
Signed-off-by: Tom George <tg82490@gmail.com>
* Refactor defaults mgt for flavor-related props
* Don't update the CR with effective docker images
* Also redeploy Postgres when image changes
* Now correctly manage upgrade from 7.0.0 GA
* Wait for rolling update of secondary deployments
Signed-off-by: David Festal <dfestal@redhat.com>
* Add pull policies
* Add configurable pull policies for deployments in Che, Keycloak and Postgres deployments
* `Always` policy by default for `nightly`/`latest` images
Signed-off-by: David Festal <dfestal@redhat.com>
* Use `7.0.0-beta-5.0` Keycloak docker image
* use `/scripts` as home dir for `kcadm`
* Add `runAsUser` on Postgres for k8s
* Update k8s security context from upstream
* update the CR with security context settings
* Fix a bug with `openshiftoAuth: true` on K8S
Signed-off-by: David Festal <dfestal@redhat.com>