Skip to content

Commit 7fe9318

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 both in the `installer` and `chart`. - Update the airgap docs to remove a mention of this. Signed-off-by: Tarun Pothulapati <[email protected]>
1 parent 1e9b846 commit 7fe9318

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ components:
300300
minAgePrebuildDays: 7
301301
contentRetentionPeriodDays: 21
302302
contentChunkLimit: 1000
303-
definitelyGpDisabled: "false"
303+
definitelyGpDisabled: true
304304
enableLocalApp: false
305305
disableDynamicAuthProviderLogin: false
306306
maxEnvvarPerUserCount: 4048

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/example-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ containerRegistry:
1010
inCluster: true
1111
database:
1212
inCluster: true
13-
disableDefinitelyGp: false
13+
disableDefinitelyGp: true
1414
domain: ""
1515
kind: Full
1616
metadata:

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)