Commit Graph

29 Commits (837eed62baf2ca6fbf1902ab4559cdba112e153e)

Author SHA1 Message Date
Oleksandr Andriienko a6b945728e
Fix view rolebinding for kubernetes. (#11629)
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2018-10-17 14:20:12 +03:00
Oleksandr Garagatyi 036f044155 Add a property for default sidecar mem limit
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-09-17 14:01:34 +03:00
Sergii Leshchenko 5b848a6b02 CHE-10991 Add creating of workspace service account in Che Kubernetes Helm chart 2018-09-13 11:03:09 +03:00
Sergii Leshchenko b10c305d10 CHE-10991 Add creating of workspace service account in deployment Che on OpenShift 2018-09-13 11:03:09 +03:00
Kuperman Sergey 70f25dbebc Make Resource memory request configurable for k8s and OpenShift (#10673)
- Make Resource memory request configurable for k8s and OpenShift.
- Add alias for backwards compatibility to che.workspace.default_memory_limit_mb.
- set memory request to 512Mb.
- document CHE_WORKSPACE_DEFAULT__MEMORY__REQUEST__MB in che.env.
- Configure helm scripts to allow memory attributes on deployment.
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-09-06 13:02:42 +03:00
Sergii Kabashniuk be3cc1a00c
Fixed helm deployment with default value of loggerConfig (#11056) 2018-09-04 13:15:16 +03:00
Ido Itzkovich 11be6c2ecd Make Che logging variables configurable via helm (#10912)
- Added option to set CHE_LOGGER_CONFIG through
     global.log.loggerConfig in values.yaml.
     - Added option to set name of custom log appender
     implementation through global.log.customAppenderName
     in values.yaml.
     - Added default value for appender name in values.yaml
     - Added CHE_LOGGER_CONFIG to deployment container env

Signed-off-by: Ido Itzkovich <ido.itzkovich@gmail.com>
2018-08-28 11:23:39 +03:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Guy Daich 099323a1e4
Merge pull request #10509 from i300543/master
Make host calculation more short and concise for che master
2018-08-15 15:31:53 +03:00
Sergey Kuperman 107c5507f9 fix hardcoded secret name in certificate.yaml
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-08-14 14:35:09 +03:00
Maxim Musienko 976842ffe9 fix k8s deployment fail (#10747)
* fix k8s deployment fail
2018-08-13 12:14:20 +03:00
Roman Iuvshyn 5d26cafed4
allow to set che ws agent inacive timeout in helm (#10705) 2018-08-09 11:37:04 +03:00
Angel Misevski 44588aa775 Remove unnecessary properties from kubernetes/OS infrastructure
Removes properties

- che.infra.kubernetes.username : can change, requiring reconfiguration
- che.infra.kubernetes.password : can change, requiring reconfiguration
- che.infra.kubernetes.oauth_token : expires

as they complicate setup and all represent suboptimal running scenarios.
Use che serviceaccount instead.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2018-08-07 10:11:12 -04:00
Sergey Kuperman 124a8f18ef Make host calculation more short and concise for che master
Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>
2018-08-06 10:57:59 +03:00
Mykhailo Kuznietsov 1170a06bb9
Add Proxy env variables for workspace containers in Openshift and Kub… (#10387) 2018-07-31 17:27:36 +03:00
Roman Iuvshyn bfd32d65fe
clean up k8s config map (#10391)
* clean up k8s config map
2018-07-12 11:56:55 +03:00
Roman Iuvshyn 19ecb7d8bd
set default k8s namespace to che (#10366)
* allow to override CHE_INFRA_KUBERNETES_NAMESPACE during deploy che on k8s with helm
2018-07-10 18:31:46 +03:00
Eugene Ivantsov cf0db82b97 Make initial pvc claim configurable 2018-07-05 16:33:18 +03:00
Guy Daich 7802427a32 Update readme.md (#10152)
Fix Routing Strategy Docs
2018-07-05 14:37:11 +03:00
i300543 34e6ab326f Improve wsmaster OpenIdConnect configurability, and helm deployment scripts (#9826)
* Improve wsmaster OpenIdConnect configurability, and helm deployment scripts
- Make username claim configurable  in cases
  Oidc provider does not support the default claim (default is "preferred_user")
- Introduce fallback for username (issuer+subject) if the username claim is not present
  in the token
- Extend helm scripts to take customOidcProvider and customOidcUsernameClaim
  parameters into account when deploying che master.
- Introduce cheDedicatedKeycloak global param, conditioning if dedicated che
  keycloak server should be deployed, and waited on by the master.
- default value for cheDedicatedKeycloak (if not defined) is true
  if the cheDedicatedKeycloak parameter is defined and is false,
  customOidcProvicer must be supplied, when using multiuser mode.

Signed-off-by: Sergey Kuperman <sergey.kuperman@sap.com>

* Code review fixes

Remove the extra if condition in configmap.yaml
Remove extra line in requirements.yaml
fix typo in deployment.yaml

* Add che.keycloak.username_claim property as NULL into multiuser.properties

* Simplify helm conditions, when deploying che master with or without keycloak

if multiuser = true, and .Values.customOidcProvider was supplied, assumption is that
we work with no keycloak (no waiting in deployment)

global.cheDedicatedKeycloak is still needed as separate variable for requirements.yaml to determine whether keycloak chart should be installed

so for keycloak deployment, no parameters need to be passed beside global.multiuser=true,
for custom OIDC :
.Values.customOidcProvider=http://url, and global.cheDedicatedKeycloak=false
both need to be set
2018-06-06 10:35:04 +03:00
Eugene Ivantsov 4493c8e5d0 Make client id and secret configurable from command line 2018-05-18 11:12:29 +03:00
Eugene Ivantsov 86f34103d1
Remove Keycloak job, use the right entrypoint, add envs the script requires (#9533) 2018-04-26 13:38:04 +03:00
Sergii Leshchenko 09149b296f
Fix command for launching minikube with RBAC in helm chart readme (#9468) 2018-04-17 17:30:52 +03:00
Max Shaposhnik 161ff9416c
Configure JPA L2 cache coordination between instances on Openshift® / Kubernetes (#8982) 2018-04-11 13:44:15 +03:00
Guy Daich a48d4b42c8 k8s-infra: routing, TLS (rebased) (#9329)
Introduce an External Server Exposer Strategy, 
responsible for exposing service ports associated with external servers,
making them accessible from outside the cluster.
Move server exposure to shared k8s infra level:
- multi-host: unique hostname for each component, like Che Openshift infrastructure.
- single-host: single hostname for all components. Can be used in conjunction with TLS.
- default-host: default ingress hostname. Can be used for local development without dynamic DNS (based on ingress IP).
Add basic TLS support.
Signed-off-by: Guy Daich <guy.daich@sap.com>
2018-04-10 09:53:23 +03:00
Oleksandr Garagatyi 131ae27612 CHE-9275: Add setting of an env var to configure master logs encoding
Add setting of env var CHE_LOGS_APPENDERS_IMPL that sets Che master
logs producing configuration to deployments for:
- docker (che.env)
- kubernetes (kubectl)
- kubernetes (helm)
- openshift (scripts)
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>

Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-04-06 09:16:49 +03:00
Anton Korneta 0afb356487 Disable che-data pvc creation for musltiuser che deployment 2018-03-28 11:17:20 +03:00
perspectivus1 c4896a1559 Fix K8s Helm Chart (#9230)
* Fix Kubernetes Helm chart name to match directory name (see PR 9143)

Signed-off-by: Eyal Barlev <perspectivus@gmail.com>
2018-03-27 17:48:46 +02:00
Oleksandr Garagatyi d047863484 Move deployment files out of dockerfiles folder
Move openshift/k8s deployment files from dockerfiles/init folder
to deploy folder with a better structure because they are not
related to init dockerfile.
Add readme files in each deployment target folder with links to
Che docs where the process of deployment is described.
Remove delivery of deployment files by init image which is
useless.
Remove empty docs files from the repo and init image.
Fix some minor typos and trailing spaces.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2018-03-20 22:13:24 +02:00