Oleksandr Andriienko
df77efdaee
fix: Don't set public url value to internal url settings. ( #891 )
...
* Don't set public url value to internal url settings. Remove outdated websocket minor code.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-08-03 10:22:45 +03:00
Flavius Lacatusu
8d90bb1419
Merge pull request #890 from eclipse-che/dwo_dep
...
feat: Add DevWorkspace as a dependency in che operator
2021-07-28 14:20:51 +02:00
Flavius Lacatusu
1624742e3f
fix suggestions
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-28 14:19:28 +02:00
Oleksandr Andriienko
6c76cd833d
fix: CRW-1956: Rework tests for CRW ( #968 )
...
* CRW-1956: Rework tests for CRW
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-27 17:30:41 +03:00
Flavius Lacatusu
f8e05779f8
fix: update unit tests and update e2e description
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-27 15:23:21 +02:00
Anatolii Bazko
4e5ffb8132
build: Enable Image Puller for tests ( #960 )
...
* build: Enable Image Puller for tests
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-27 09:35:55 +03:00
Flavius Lacatusu
e63f5fda5d
fix suggestions
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-26 20:24:48 +02:00
Flavius Lacatusu
7f37ea2768
feat: Add initial commit of DWO olm deps
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-07-26 12:37:32 +02:00
David Kwon
2e41ee4388
Rename variables, handle duplicate code
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
David Kwon
2073d94407
Use GetImageNameAndTag, create tests, change variable names
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
David Kwon
5d0abfd5fb
feat: Update image puller default images when CSV file is updated
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-22 15:34:27 +02:00
Sergii Kabashniuk
727141e3d4
feat: Devworkspaces on K8s ( #935 )
...
* Devworkspaces on K8s
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-21 19:00:09 +03:00
Serhii Leshchenko
5ab41546b3
feat: add an ability to add localhost to allows list for keycloak ( #937 )
...
* feat: add an ability to mount configmap to deployment
* feat: add an ability to configure additional weborigins and redirecturls for keycloak
2021-07-21 16:00:20 +03:00
Michal Vala
6bf5c65a44
feat: Traefik plugin for header rewrite in nativeUserMode ( #938 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
2021-07-21 13:43:32 +02:00
Anatolii Bazko
2fb2314f22
fix: Reuse ServiceDefaultDiffOpts for gateway service ( #950 )
...
* fix: Reuse ServiceDefaultDiffOpts for gateway service
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-20 14:08:37 +03:00
Oleksandr Andriienko
f555494a7d
feat: Newer operator sdk ( #826 )
...
* Define new dependencies. Update vendor folder. Use newer operator sdk v1.7.1.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-07-19 14:29:11 +03:00
Anatolii Bazko
ac0bd56e41
feat: enable internal cluster SVC names usage by default ( #919 )
...
* feat: enable internal cluster SVC names usage by default
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-15 17:21:00 +03:00
Anatolii Bazko
8de4ddd56b
fix: Backport fixes found during che-operator 7.33.0 release ( #929 )
...
* fix: Backport fixes found during che-operator 7.33.0 release
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-15 15:00:53 +03:00
Anatolii Bazko
fb1f238ff4
fix: adds nginx.org/websocket-services annotation for che ingress ( #921 )
...
* fix: adds nginx.org/websocket-services annotation for che ingress
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-15 14:53:22 +03:00
Anatolii Bazko
e29484fd45
fix: setting keycloak system properties for rh-sso ( #928 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-07-14 21:00:43 +03:00
Michal Maléř
28d77f186c
chore(che_types.go): Fix `pvcClaimSize` description ( #924 )
...
* chore(che_types.go): Fix pvcClaimSize description
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-14 10:18:36 +03:00
David Kwon
cab8b92213
feat: set RELATED_IMAGES images to image puller spec as defaults
...
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-07-13 13:37:03 +02:00
Sergii Leshchenko
78e5dbaa0c
fix: make che operator take into account DWO Service
2021-07-13 09:27:04 +03:00
Mykola Morhun
fc2b559447
Do not delete internal backup server on backup CR deletion ( #888 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-07-07 17:11:44 +03:00
Michal Vala
b9ccdb73d8
feat: native user authentication ( #861 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-07-02 16:11:58 +02:00
Lukas Krejci
1f1a41f9b3
feat: Don't deploy CheManager - it no longer is a thing. ( #868 )
...
Remove the CRDs that we don't have to deploy. CheManager is not used
at all anymore and DevWorkspaceRouting is deployed at runtime while
enabling the devworkspaces. DWCO waits for the CRD to appear.
Don't deploy the DWCO metrics service anymore because the metrics
endpoint is switched off anyway.
Trivial - remove the unneeded serialized storage annotations on checluster
objects of different versions.
The cluster role must grant the operator the perms to update status
of the checluster resource.
2021-07-02 00:28:32 +02:00
Anatolii Bazko
65e3cac0a8
feat: Run DWCO and CO in a same pod but different containers ( #745 )
...
Co-authored-by: Lukas Krejci <lkrejci@redhat.com>
2021-07-01 22:36:56 +02:00
Flavius Lacatusu
53080561df
fix: Fix image puller reconcile infinite loop when checluster image puller deployment name and configmap name are empty
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-06-25 10:45:20 +02:00
Mykola Morhun
67dd98d2f9
Implement backup / restore of Che server ( #844 )
...
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2021-06-22 13:24:06 +03:00
Anatolii Bazko
4aea8f96ae
fix: rename CheClusterStatus structure to bypass bug in operator-sdk ( #870 )
...
* fix: rename CheClusterStatus structure to bypass bug in operator-sdk
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-17 08:28:33 +03:00
Anatolii Bazko
0b4fef03e8
fix: reconcile ingress/route when annotations changed ( #862 )
...
* fix: reconcile ingress/route when annotations changes
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-11 10:54:18 +03:00
Lukas Krejci
af0d7c83b7
feat: Add support for configuring the labels for gateway configmaps ( #860 )
...
Add support for configuring the labels using which the gateway configmaps
are identified to v2alpha1.
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-06-11 08:14:11 +02:00
Anatolii Bazko
105c04ec9d
chore: Ensure that che-server's SA have enough permission to manipulate with devworkspaces resource on kubernetes ( #858 )
...
* chore: Ensure that che-server's SA have enaught permission to manipulate with devworkspaces resource on kubernetes
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-08 16:50:48 +03:00
Anatolii Bazko
cad643a6e5
fix: dashboard ingress configuration with custom cheHost ( #856 )
...
* Secure che-dashboard ingress with spec.server.cheHostTLSSecret
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-07 18:08:33 +03:00
Lukas Krejci
b2f4f44f45
chore: Define CheCluster v2alpha1 ( #843 )
...
Implements eclipse/che#19846 .
Defines a new version of the CheCluster custom resource and implements
conversion functions from and to v1. The v2alpha1 is intentionally NOT
part of the CRD yet and is meant to be used only at runtime by
the operator code.
2021-06-07 12:55:14 +02:00
Anatolii Bazko
e98f32e689
fix: Update che_types.go, fix descriptions ( #851 )
...
* fix: Update che_types.go, fix descriptions
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-06-02 11:13:23 +03:00
David Kwon
cd5cdcaba8
fix: Add PVC delete permission to che service account ( #847 )
...
* Add PVC delete permission to che service account
Signed-off-by: David Kwon <dakwon@redhat.com>
2021-06-02 09:15:06 +03:00
Anatolii Bazko
c8a9da5bc1
feat: Configure external devfile registries urls ( #845 )
...
* Configure external devfile registries urls
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-28 11:18:22 +03:00
Anatolii Bazko
17cc64b122
Reworked server synchronization ( #813 )
...
* Refactor server provisioning
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-21 09:21:01 +03:00
Flavius Lacatusu
2905b674e9
Minor fixes
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-05-20 09:34:26 +02:00
Flavius Lacatusu
b5feb52494
Fix dashboard component names depending on che flavor
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-05-19 15:43:39 +02:00
Anatolii Bazko
d93e5e7320
Che Operator updates DWO and DWCO resources ( #832 )
...
* Che Operator updates DWO and DWCO resources
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-19 14:07:30 +03:00
Anatolii Bazko
482def21cc
Configure keycloak by setting -Dkeycloak.connectionsHttpClient.default.expect-continue-enabled=true and -Dkeycloak.connectionsHttpClient.default.reuse-connections=false ( #835 )
...
* Set keycloak.connectionsHttpClient.default.* system properties
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-19 11:18:01 +03:00
Anatolii Bazko
5105bd00e6
Use OpenShift API internal URL to fetch certficate ( #829 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-12 17:18:43 +03:00
Anatolii Bazko
07c4f74f04
Do not allow to upgrade che 7.31 or later to upgrade installation that configured with namespace strategies other than "per user" ( #818 )
...
* Don't support another than per-user strategy
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-12 15:53:06 +03:00
Anatolii Bazko
c859791485
Use internal API url to provision OpenShift OAuth identity provider ( #814 )
...
* Use internal API url to provision OpenShift OAuth identity provider
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-11 13:18:54 +03:00
Anatolii Bazko
fccad9f91e
Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars ( #815 )
...
* Expose DWO and DWCO images in CSV as RELATED_IMAGE_* env vars
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-05-07 12:15:55 +03:00
Serhii Leshchenko
a48896f53f
Expose Che route on / path to avoid HostAlreadyClaimed error ( #810 )
2021-04-30 19:59:12 +03:00
Valeriy Svydenko
7b422c2f7a
add role for metrics ( #793 )
...
Signed-off-by: svor <vsvydenk@redhat.com>
2021-04-30 10:09:56 +03:00
Flavius Lacatusu
a90d651030
fix: Add common selector for che-dashboard
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-28 20:34:39 +02:00