14 Commits

Author SHA1 Message Date
Simon Emms
1aa1f62525 [installer]: add override option to arbitrarily change the output
This is an experimental feature until Gitpod Dedicated is in GA
2023-01-19 09:31:26 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Simon Emms
283e21e43d [installer]: introduce IDE/WebApp kinds to install relevant components 2022-11-21 08:00:51 -03:00
Simon Emms
449024504a [installer]: set namespace with envvar in cli commands 2022-09-20 16:34:21 +02:00
Simon Emms
f514e30e38 [installer]: make the installer config file consistent
This uses the envvar GITPOD_INSTALLER_CONFIG throughout and defaults
to `${PWD}/gitpod.config.yaml`
2022-09-13 18:20:14 +02:00
Simon Emms
e9a13764e4 [installer]: add output test for the render function 2022-08-02 09:02:46 -03:00
Simon Emms
433b115170 [installer]: add in ability to post-process 2022-07-19 12:27:14 +02: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
Christian Weichel
43fdcac591 [installer] Support reading config file from stdin
this makes rendering using the Docker image much easier because you can
just pipe the config to the installer.
2022-05-12 11:49:27 +05:30
Christian Weichel
010fb45630 [installer] Support rendering to individual files 2022-05-12 11:49:27 +05:30
Tarun Pothulapati
61b50e72a3 installer: clarify experimental config flag
Fixes https://github.com/gitpod-io/gitpod/issues/8107

This PR updates the flag descriptions, and the `render` display
notes to be more explicit on what experimental config is.

This flag is required, to make sure users are opting in explicitely/
knowlingly to use the experimental config.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-03-02 15:45:09 +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