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
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