18 Commits

Author SHA1 Message Date
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Tarun Pothulapati
c2eb0c15d1 [installer] manually set allowPrivilegeEscalation to false
This PR manually sets the `allowPrivilegeEscalation` container
config to false where we don't need extra capabilities. This
is needed as not setting this explicitely could mean that
it could still be `true` based on other settings.

This also helps us future proof on any behaviour changes around
this.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-12-05 06:28:15 -03:00
Tarun Pothulapati
2763de8c39 [openVSXProxy] Mark the usage of PVC optional
Fixes https://github.com/gitpod-io/gitpod/issues/14529

Currently, OpenVSXProxy is the only non-optional component
that needs PVC's to get things working. The usage of a PVC
in AWS reference architecture, means that components can't
get restarted in a different zone anymore as PVC's with EBS
are specific to a zone.

As EKS reference architecture does not enable any other
component that uses PVC's (i.e minio), This is a problem
specific to `OpenVSXProxy`.

By disabling this, OpenVSXProxy's redis now will have
lost the cache once a restart occurs which does not
seems like a big deal for self-hosted customers.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-11-21 04:04:50 -03:00
Pudong Zheng
a4ffeb8cb5 [openvsx-proxy] support dynamic upstream url 2022-11-14 13:18:44 +02:00
Simon Emms
2fd3dd3586 [installer]: remove the custom labels from the selector labels 2022-08-09 04:16:53 -03:00
Aleksandar Aleksandrov
f235d61f74 add kube-rbac-proxy container to openvxs-proxy 2022-07-28 06:00:23 -03:00
Manuel Alejandro de Brito Fontes
14095f470b Refactor configuration of localhost address, metric and debug ports 2022-07-23 11:19:18 -03:00
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Andrew Farries
674db36fbb Make resources configurable for all components
Use the common.ResourceRequirements function from the parent commits,
passing in the existing defaults.
2022-04-28 20:04:14 +05:30
Andrew Farries
1dd58fc461 Make StatefulSet replicas configurable 2022-04-26 13:14:38 +05:30
Simon Emms
948ae5192b [installer]: add DropImageRepo functionality to RepoName
This moves the ImageName and RepoName functions to the RenderContext
struct.
2022-04-21 18:26:33 +05:30
mustard
977ca586a7 [installer] reduce openvsx-proxy request memory 2022-04-21 15:00:33 +05:30
Andrew Farries
3fdd2d9754 Rename common.Affinity to NodeAffinity 2022-04-20 02:48:32 +05:30
mustard
45c1afb185 [installer] fix redis pvc name incorrect 2022-04-19 00:07:31 +05:30
Simon Emms
55d1e4b376 [installer]: use fully qualified image name for redis image 2022-04-13 21:08:26 +05:30
Gero Posmyk-Leinemann
c9bb2d8185 [installer] open-vsx: configure redis 2022-04-12 17:06:25 +05:30
Manuel Alejandro de Brito Fontes
89105f8628 Update signatures due to k8s v1.23 changes 2022-03-03 18:46:10 +05:30
Simon Emms
4820e804bb [installer]: move to /install 2022-02-22 17:03:02 +05:30