Skip to content

Commit

Permalink
[installer] Displable definitely-gp by default
Browse files Browse the repository at this point in the history
Fixes #8740

`definitely-gp` is being deprecated soon, and hence
it is important to be disabled by default. Once it
is fully deprecated, even this option has to be removed.

For now, The following changes have been made:

- Update the `definitelyGpDisabled` option to be true, Thus
  disabling it by default both in the `installer` and `chart`.
- Update the airgap docs to remove a mention of this.

Signed-off-by: Tarun Pothulapati <[email protected]>
  • Loading branch information
Pothulapati committed Apr 8, 2022
1 parent 1e9b846 commit 7fe9318
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ components:
minAgePrebuildDays: 7
contentRetentionPeriodDays: 21
contentChunkLimit: 1000
definitelyGpDisabled: "false"
definitelyGpDisabled: true
enableLocalApp: false
disableDynamicAuthProviderLogin: false
maxEnvvarPerUserCount: 4048
Expand Down
3 changes: 1 addition & 2 deletions install/installer/docs/air-gap.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ done
## Install Gitpod in Air-Gap Mode
To install Gitpod in an air-gap network, you need to configure the repository of the images needed by Gitpod (see previous step) and disable the `definitely-gp` feature. Add this to your Gitpod config:
To install Gitpod in an air-gap network, you need to configure the repository of the images needed by Gitpod (see previous step). Add this to your Gitpod config:
```yaml
repository: your-registry.example.com
disableDefinitelyGp: true
```

That's it. Run the following commands as usual and Gitpod fetches the images from your registry and does not need internet access to operate:
Expand Down
2 changes: 1 addition & 1 deletion install/installer/example-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ containerRegistry:
inCluster: true
database:
inCluster: true
disableDefinitelyGp: false
disableDefinitelyGp: true
domain: ""
kind: Full
metadata:
Expand Down
2 changes: 1 addition & 1 deletion install/installer/pkg/config/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (v version) Defaults(in interface{}) error {
cfg.Workspace.Runtime.ContainerDSocket = "/run/containerd/containerd.sock"
cfg.Workspace.Runtime.ContainerDRuntimeDir = "/var/lib/containerd/io.containerd.runtime.v2.task/k8s.io"
cfg.OpenVSX.URL = "https://open-vsx.org"
cfg.DisableDefinitelyGP = false
cfg.DisableDefinitelyGP = true

return nil
}
Expand Down

0 comments on commit 7fe9318

Please sign in to comment.