32 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
c4caa10438 [proxy] Remove dependency on ws-proxy for "Meta" installation 2023-01-31 13:47:38 +01:00
Gero Posmyk-Leinemann
fbe474d498 [proxy] Add installation level flag FRONTEND_DEV_ENABLED (default: false) 2023-01-19 10:45:27 +01:00
Andrew Farries
503ef163f4 Stop setting X-Real-IP on upstream requests
The value of the header was set to the IP address of a machine inside
GCP rather than the the actual client IP address.

To ensure that the header contains the actual client IP address, this
header is now set at the GCP load balancer.
2023-01-16 21:50:24 +01:00
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
mustard
8b7242cf1c [installer] make installer full support installation shorname 2022-10-23 15:51:38 +02:00
mustard
c8d0dd11ab [installer] add configcat env for proxy 2022-09-09 12:25:24 +02:00
Manuel Alejandro de Brito Fontes
64b4d6fcf9 Fix typecheck errors 2022-08-23 08:18:39 +02:00
Simon Emms
2fd3dd3586 [installer]: remove the custom labels from the selector labels 2022-08-09 04:16:53 -03:00
Pudong Zheng
b29d39bb87 integration with ide-proxy 2022-08-05 07:52:49 -03:00
Andrew Farries
4682009fd1 Add backend to payment-endpoint section 2022-08-04 07:01:48 -03:00
Manuel Alejandro de Brito Fontes
b28630772d [installer] Sync alpine version 2022-07-25 06:41:20 -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
cd03b24d3c [installer]: move proxy loadbalancer annotations 2022-07-06 16:58:53 +05:30
Simon Emms
86c887cc6e [installer]: deprecate the experimental proxy service type config 2022-07-06 16:58:53 +05:30
Simon Emms
8fad588e6b [installer]: add customization functions to components 2022-06-24 17:02:33 +05:30
Nandaja Varma
f124c06b53 [installer] support service type in experimental config 2022-06-15 14:13:24 +05:30
Mads Hartmann
7b68fb4a27 Use slices instead of maps for service ports to control ordering 2022-05-30 20:14:48 +05:30
Gero Posmyk-Leinemann
c025034894 [cleanup] Remove kedge 2022-05-27 14:51:45 +05:30
Andrew Farries
9a9736d551 Add test for service annotations
Ensure that any annotations specified in the experimental config are
present on the rendered Service.
2022-05-05 13:12:21 +05:30
Andrew Farries
0b599a83ac Add ServiceAnnotations config to proxy
Allow the annotations on the service to be added to by specifying them
in the experimental config.
2022-05-05 13:12:21 +05:30
Andrew Farries
1d2bae11ab Add test for proxy ip configuration 2022-05-04 20:46:20 +05:30
Andrew Farries
2308e174da Add experimental proxy config for static IP
Configure the proxy component with a static IP if the config field is
set.
2022-05-04 20:46:20 +05:30
Andrew Farries
4b94c91168 Refactor: Move proxy service gen into its own file 2022-05-04 20:46:20 +05:30
Andrew Farries
f350f5455f Rename UsePodAffinity to UsePodAntiAffinity 2022-04-29 19:17:15 +05:30
Andrew Farries
1e293619d6 Use pod anti-affinity for proxy if flag is set 2022-04-28 20:04:14 +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
0ae3201a7e Set Replicas for multiple components
So that they respect the new
`experimental.common.podConfig.<component>.replicas` setting.
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
Andrew Farries
3fdd2d9754 Rename common.Affinity to NodeAffinity 2022-04-20 02:48:32 +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