Skip to content

Commit 9051027

Browse files
[installer] Add disableDefinitelyGp config option
/werft no-preview
1 parent 6f8bbba commit 9051027

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/installer/pkg/components/server/configmap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
4545
MaxAgeMs: 259200000,
4646
Secret: "Important!Really-Change-This-Key!", // todo(sje): how best to do this?
4747
},
48-
DefinitelyGpDisabled: false,
48+
DefinitelyGpDisabled: ctx.Config.DisableDefinitelyGP,
4949
WorkspaceGarbageCollection: WorkspaceGarbageCollection{
5050
ChunkLimit: 1000,
5151
ContentChunkLimit: 1000,

components/installer/pkg/config/v1/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ type Config struct {
8888

8989
SSHGatewayHostKey *ObjectRef `json:"sshGatewayHostKey,omitempty"`
9090

91+
DisableDefinitelyGP bool `json:"disableDefinitelyGp,omitempty"`
92+
9193
Experimental *experimental.Config `json:"experimental,omitempty"`
9294
}
9395

0 commit comments

Comments
 (0)