Oleksandr Andriienko
2382fb4585
Improve code.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-12 12:25:02 +02:00
Oleksandr Andriienko
471e2e5d5c
Fix up.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-12 10:37:03 +02:00
Oleksandr Andriienko
ddc25dc0ab
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-12 10:30:37 +02:00
Oleksandr Andriienko
8c3eb27cdd
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-12 10:30:15 +02:00
Oleksandr Andriienko
bb57d713b3
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-12 10:25:27 +02:00
Oleksandr Andriienko
b7f9c2e89b
Handle code review feedback.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 19:05:50 +02:00
Oleksandr Andriienko
9986117efb
Merge branch 'createInitialOpenshift4UserForOAuth' of github.com:AndrienkoAleksandr/che-operator into createInitialOpenshift4UserForOAuth
2021-02-11 12:50:25 +02:00
Oleksandr Andriienko
bd3fba2030
Work on review suggestions.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 12:49:58 +02:00
Oleksandr Andriienko
8240cae80a
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-11 12:07:50 +02:00
Oleksandr Andriienko
83a35cc0fd
Remove todo.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-11 11:30:42 +02:00
Oleksandr Andriienko
6e0d0c88b8
Improve code.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-10 19:56:04 +02:00
Oleksandr Andriienko
3996665ca4
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-10 13:34:07 +02:00
Oleksandr Andriienko
bb9e3c9a83
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-10 13:33:17 +02:00
Oleksandr Andriienko
1fb898e2d2
Try to handle remaining feedback.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-09 23:12:57 +02:00
Oleksandr Andriienko
cada10c57c
Handle code review feeback
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-09 18:24:51 +02:00
Oleksandr Andriienko
d1b7490df6
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-09 18:01:06 +02:00
Oleksandr Andriienko
fa58bbd4d6
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-09 17:48:32 +02:00
Oleksandr Andriienko
7fb00902d6
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-09 17:48:19 +02:00
Oleksandr Andriienko
38176f4618
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-09 17:48:07 +02:00
Oleksandr Andriienko
213b10c9f5
Handle code review changes.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 23:06:02 +02:00
Oleksandr Andriienko
72285399fe
Fix compilation. Update bundle.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-02-08 17:53:56 +02:00
Oleksandr Andriienko
6b1976f9e8
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 17:37:06 +02:00
Oleksandr Andriienko
2aa1678cf3
Update pkg/controller/che/che_controller.go
...
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 17:35:35 +02:00
Oleksandr Andriienko
05b87ba235
Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth
2021-02-08 17:15:28 +02:00
Oleksandr Andriienko
4ee509e08b
CHE-15493: <username>-che as default namespace ( #166 )
...
* Set <username>-che as default namespace for Che workspaces
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2021-02-08 09:56:53 +02:00
Oleksandr Andriienko
c6c7299a17
Merge remote-tracking branch 'upstream/master' into createInitialOpenshift4UserForOAuth
2021-01-28 17:20:35 +02:00
Oleksandr Andriienko
17c2888d74
Use che flavour in the oAuth userName.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 17:05:00 +02:00
Oleksandr Andriienko
465976789b
Address code review changes.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-28 16:15:22 +02:00
Anatolii Bazko
49bf7c8635
Define Required Metadata Labels on deployment definitions ( #603 )
...
* Add default kubernetes labels
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-26 15:50:05 +02:00
Oleksandr Andriienko
b5774b00ef
Fix clean up initial user secret in the cr status.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 12:40:24 +02:00
Oleksandr Andriienko
e1601f36c3
Fix format.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 00:16:26 +02:00
Oleksandr Andriienko
b895518730
Add ability remove initial user. Fix tests: rework code to make it more testable.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2021-01-26 00:15:43 +02:00
Anatolii Bazko
482155b7e2
Automate the setup of github identity provider with internal keycloak ( #589 )
...
* GitHub identity provider provision
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2021-01-13 17:06:54 +02:00
Oleksandr Andriienko
81d0cb603b
Create initial Openshift 4 user for oAuth.
...
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-27 21:36:33 +02:00
Anatolii Bazko
42684b836f
Mount secrets in containers ( #595 )
...
* Mount secrets in containers
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-12-24 12:25:01 +02:00
Oleksandr Andriienko
e373bc7a0f
Use test operator image in the CSV. ( #594 )
...
* Use test operator image in the CSV.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
* Fix wrong link.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-22 20:10:46 +02:00
Oleksandr Andriienko
ae79476106
Improve oauth handling. ( #551 )
...
* Improve oauth handling.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-12-21 10:38:37 +02:00
Tom George
a6848bf1b6
install kubernetes image puller/kip operator from che-operator ( #541 )
...
* Allow the che-operator to install the Kubernetes Image Puller operator and configure a KubernetesImagePuller CR in the same namespace that che is installed in.
Adds a new field to the CheCluster CR, imagePuller, that will install the operator and create a CR if enabled. If disabled, it will uninstall and remove the image puller artifacts.
Signed-off-by: Tom George <tgeorge@redhat.com>
2020-12-08 08:53:24 -06:00
Michal Vala
cd239ce7a4
Gh18399 che SA cluster roles ( #543 )
...
Signed-off-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Anatolii Bazko <abazko@redhat.com>
2020-12-02 18:03:11 +01:00
Mykola Morhun
3d9c611522
Implement addition CA config maps merge and propagation to Che server ( #531 )
...
Implement CA certs sources merge and propagate resulting config map to Che server
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2020-11-27 15:04:33 +02:00
Oleksandr Andriienko
73053b2bc4
Provide internal network urls for plugin registry, devfile registry and internal che api endpoint url. ( #468 )
...
* Provide internal network urls for plugin, devfile registries and internal che api endpoint url.
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-11-26 13:54:26 +02:00
Valeriy Svydenko
2e0bfecd45
Add metrics role and extend view role ( #519 )
...
* Extend view role. Add a role for metrics api
Signed-off-by: svor <vsvydenk@redhat.com>
2020-11-23 10:51:26 +02:00
Tom George
24fb122aa8
Operator sdk 0.15.2 ( #515 )
...
Upgrade che-operator to use operator-sdk version 0.15.2 APIs, and newer kubernetes APIs
Signed-off-by: Tom George <tgeorge@redhat.com>
2020-11-11 11:15:55 -06:00
Mykola Morhun
390b3fe061
Implement ability to use default ingress TLS certificate ( #508 )
...
Implement ability to use default ingress TLS certificate
2020-11-06 14:51:42 +02:00
Anatolii Bazko
47a01d7276
Automatically propagate ca-certs configmap content into server and identity provider ( #487 )
...
* Automatically propagate serverTrustStoreConfigMap context to server and identity provider
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-10-13 14:04:20 +03:00
Serhii Leshchenko
cc93735274
Refactor deploy package ( #474 )
...
* Move exposure logic to one place & Group deploy classes
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-10-05 17:34:43 +03:00
Anatolii Bazko
37e6a9d18f
Define labels for route/ingress ( #449 )
...
* Define labels for route/ingress
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
2020-09-25 14:17:19 +03:00
Lukas Krejci
bda65a4e40
Manage the Traefik gateway for implementing single host on OpenShift ( #378 )
...
Co-authored-by: Michal Vala <michal.vala@gmail.com>
2020-09-16 15:21:57 +02:00
Flavius Lacatusu
dad5e5fa84
Merge pull request #420 from flacatus/refactor_func
...
Create a general deployContext to pass to all functions instead of pass numerous arguments
2020-08-28 14:31:52 +02:00
Flavius Lacatusu
ed6594528c
Create a general deployContext to pass to all functions
...
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
2020-08-27 11:30:20 +02:00