Skip to content

Commit f1e6626

Browse files
committed
[installer] Displable definitely-gp by default
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 - Update the airgap docs to remove a mention of this Signed-off-by: Tarun Pothulapati <[email protected]>
1 parent 3fb59ce commit f1e6626

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

install/installer/docs/air-gap.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ done
2222
2323
## Install Gitpod in Air-Gap Mode
2424
25-
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:
25+
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:
2626
2727
```yaml
2828
repository: your-registry.example.com
29-
disableDefinitelyGp: true
3029
```
3130

3231
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:

install/installer/pkg/config/v1/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (v version) Defaults(in interface{}) error {
5454
cfg.Workspace.Runtime.ContainerDSocket = "/run/containerd/containerd.sock"
5555
cfg.Workspace.Runtime.ContainerDRuntimeDir = "/var/lib/containerd/io.containerd.runtime.v2.task/k8s.io"
5656
cfg.OpenVSX.URL = "https://open-vsx.org"
57-
cfg.DisableDefinitelyGP = false
57+
cfg.DisableDefinitelyGP = true
5858

5959
return nil
6060
}

0 commit comments

Comments
 (0)