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
Max Shaposhnik
7de21268be
Fix redirect URL-s for Che-public client to allow factory redirects;
2021-04-27 13:55:32 +03:00
Max Shaposhnik
4b3e489283
Code fixup
2021-04-26 16:19:01 +03:00
Anatolii Bazko
219f7e2a8c
Add `/auth` path to external identity providers url ( #800 )
...
* Add /auth to external identity providers urls
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-26 14:39:41 +03:00
Serhii Leshchenko
0353a4487e
Run dashboard as separate deployment ( #684 )
...
* Run dashboard in a dedicated deployment
* Add info how to fix go imports
* Include dashboard image into release process
* Regenerate CRD & manifests
* Update nightly bundle
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 21:37:12 +03:00
Max Shaposhnik
188fe32ef4
Fmt fix
2021-04-21 14:51:05 +03:00
Flavius Lacatusu
744acc1988
Fix DWO deployment in minikube ( #789 )
...
* Check `chemanagers` and `subscriptions` resources existence before requesting API.
* Fix bug with reading objects from FS
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-21 14:11:11 +03:00
Max Shaposhnik
ceaeae1218
Fix
2021-04-21 11:54:34 +03:00
Anatolii Bazko
3d21dcc0d8
Switch to CRD v1 by default ( #768 )
...
* generate CRD v1
* keeps old CRD v1beta1 for OCP 3.11
* adopts scripts
* removes old bundles
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-21 08:57:11 +03:00
Max Shaposhnik
86246b3c09
Fixup
2021-04-20 18:56:51 +03:00
Max Shaposhnik
61e4256aa2
Add update script
2021-04-20 17:01:46 +03:00
Anatolii Bazko
0d0056bb7a
Use CRD v1 of DWCO resources ( #788 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-20 11:31:34 +03:00
Anatolii Bazko
f84b5cb1a3
Remove OpenShift OAuth user when Eclipse Che is removed ( #769 )
...
* create openshift-oauth-user-credentials secret in openshift-config namespace instead of eclipse-che
* removes initial user when Eclipse Che is removed
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-20 10:11:18 +03:00
Anatolii Bazko
546e10651f
Delegate namespaces editor roles to `che` service account ( #772 )
...
* Delegate namespaces editor roles to che service account
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-17 08:57:35 +03:00
Anatolii Bazko
31b52f41eb
Replace references from master to main branches ( #784 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-16 12:22:39 +03:00
Flavius Lacatusu
c69f3e2cf7
Add omitempty to openShiftOAuthUserCredentialsSecret status field ( #776 )
...
* Add `omitempty` annotation to `status.openShiftOAuthUserCredentialsSecret` field
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-15 14:09:08 +03:00
Anatolii Bazko
83bc83a707
Fix creating che ingress with correct host ( #771 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-14 09:26:58 +03:00
Anatolii Bazko
e6491cc323
Code clean up 4 ( #761 )
...
* Refactoring plugin and devfile registries
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-13 11:18:15 +03:00
Serhii Leshchenko
78d3585b7c
Refactor exposure to have an ability share host among components ( #760 )
...
* Refactor exposure to have an ability share host among components
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 12:09:59 +03:00
Anatolii Bazko
268899efa6
Fix getting exposure strategy in case of k8s ( #766 )
...
* Fix getting exposure strategy in case of k8s
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 10:33:15 +03:00
Anatolii Bazko
236f7ab5de
Add GitHub action to validate source code ( #762 )
...
* Add GitHub action to validate source code
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-09 09:55:33 +03:00
Flavius Lacatusu
31accc125a
Merge pull request #731 from eclipse-che/dwo_sh
...
feat: Implement Single Host when devworkspace it is enabled
2021-04-08 14:05:57 +02:00
Anatolii Bazko
fa39d6f79e
Code clean up 3 ( #753 )
...
* Code clean up part 3
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-07 14:55:14 +03:00
Flavius Lacatusu
d0b919e001
Merge branch 'master' into dwo_sh
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-07 10:03:22 +02:00
Lukas Krejci
92d317caf5
Use v1beta1 api for the chemanager crd. ( #757 )
...
* Fixes eclipse/che#19500 . Use v1beta1 api for the chemanager crd.
* Update olm.
2021-04-07 10:49:01 +03:00
Anatolii Bazko
127918ab6d
Improve reconciling crb finalizers ( #756 )
...
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-04-07 09:05:17 +03:00
Flavius Lacatusu
9c22b46a46
fix suggestions
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-06 12:31:05 +02:00
Flavius Lacatusu
b12b6e505f
Merge branch 'master' into dwo_sh
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2021-04-05 11:56:47 +02:00