11 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
5b30eb5b8c
Remove unused caCertSecret (#16793)
* Add trust.cert-manager.io for to bundle CA certificates

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Configure CA volume and volumemount in components

* Update ws-manager golden files

* Deploy trust manager in preview

* Remove duplicated volume

* Update installer golden files

* Generate a bundle only for registry-facade

* Update golden files

* Fix initcontainer volume mounts

* Update golden files

* Fix registry-facade certificate

* Update golden files

* Disable skip_verify

* Enable force conflict with apply server side

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

* Avoid random werft namespace errors

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>

---------

Signed-off-by: Manuel de Brito Fontes <aledbf@gmail.com>
2023-03-21 11:44:13 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Simon Emms
281c3eba78 [installer]: create build-from-envvars command on config 2022-09-20 16:34:21 +02:00
Simon Emms
611800ccb6 [installer]: refactor config loader to use yq to remove apiVersion 2022-08-09 06:46:53 -03:00
Simon Emms
da43bad0c1 [installer]: add ability to deprecate a config parameter 2022-07-06 16:58:53 +05:30
Milan Pavlik
4d9100ef82 [installer] Add flag to configure strict config parsing 2022-05-31 13:35:49 +05:30
Simon Emms
22d2b89cc5 [installer]: handle different line endings on apiVersion extraction 2022-03-18 18:47:25 +05:30
Simon Emms
2f52899595 [installer]: allow for minified config YAML
The regex for the `apiVersion` errored if the YAML was minified, which
is what we're using in KOTS installation job.
2022-03-16 17:18:23 +05:30
Nandaja Varma
a019055318 [installer] (in)validate the unknown Config fields 2022-03-09 20:12:16 +05:30
Tarun Pothulapati
63d893c6c2 installer: always override -c config on default values
Fixes https://github.com/gitpod-io/gitpod/issues/8267

Currently, Users run `init` command first, update it and
pass full config to `render` to generate Kubernetes manifests. The
passage of `-c` is a requirement here, and users can't skip it.

This PR makes the passage of `config` to `render` optional, and
flexible. This means
- Users can skip `-c` entirely, in which case we use the default
  values on the default config version for that installer binary
- Users can selectively override fields and *thus no need to pass full
  config* all the time. This means `-c` flag acts as a flag through
  which they can override the default fields.

For the second case, When a user explicitely sets the `apiVersion`
field in the passed config, we use the default values for that
version. If no `apiVersion` is passed, we override the passed config
onto the default values on the default config version for that
installer binary.

After this change, For users This means that they only store and use
the config that has their changes only (on the default config), and
not the entire config.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-02-24 19:25:04 +05:30
Simon Emms
4820e804bb [installer]: move to /install 2022-02-22 17:03:02 +05:30