|
| 1 | +# Config v1 |
| 2 | + |
| 3 | +Config defines the v1 version structure of the gitpod config file |
| 4 | + |
| 5 | + |
| 6 | +## Supported parameters |
| 7 | +| Property | Type | Required | Allowed| Description | |
| 8 | +| --- | --- | --- | --- | --- | |
| 9 | +|`kind`|string|N| `Meta`, `Workspace`, `Full` || |
| 10 | +|`domain`|string|Y| | The domain to deploy to| |
| 11 | +|`metadata.region`|string|Y| | Location for your objectStorage provider| |
| 12 | +|`repository`|string|Y| || |
| 13 | +|`observability.logLevel`|string|N| `trace`, `debug`, `info`, `warning`, `error`, `fatal`, `panic` |Taken from github.com/gitpod-io/gitpod/components/gitpod-protocol/src/util/logging.ts| |
| 14 | +|`observability.tracing.endpoint`|string|N| || |
| 15 | +|`observability.tracing.agentHost`|string|N| || |
| 16 | +|`analytics.segmentKey`|string|N| || |
| 17 | +|`analytics.writer`|string|N| || |
| 18 | +|`database.inCluster`|bool|N| || |
| 19 | +|`database.external.certificate.kind`|string|N| `secret` || |
| 20 | +|`database.external.certificate.name`|string|Y| || |
| 21 | +|`database.cloudSQL.serviceAccount.kind`|string|N| `secret` || |
| 22 | +|`database.cloudSQL.serviceAccount.name`|string|Y| || |
| 23 | +|`database.cloudSQL.instance`|string|Y| || |
| 24 | +|`objectStorage.inCluster`|bool|N| || |
| 25 | +|`objectStorage.s3.endpoint`|string|Y| || |
| 26 | +|`objectStorage.s3.credentials.kind`|string|N| `secret` || |
| 27 | +|`objectStorage.s3.credentials.name`|string|Y| || |
| 28 | +|`objectStorage.cloudStorage.serviceAccount.kind`|string|N| `secret` || |
| 29 | +|`objectStorage.cloudStorage.serviceAccount.name`|string|Y| || |
| 30 | +|`objectStorage.cloudStorage.project`|string|Y| || |
| 31 | +|`objectStorage.azure.credentials.kind`|string|N| `secret` || |
| 32 | +|`objectStorage.azure.credentials.name`|string|Y| || |
| 33 | +|`containerRegistry.inCluster`|bool|Y| || |
| 34 | +|`containerRegistry.external.url`|string|Y| || |
| 35 | +|`containerRegistry.external.certificate.kind`|string|N| `secret` || |
| 36 | +|`containerRegistry.external.certificate.name`|string|Y| || |
| 37 | +|`containerRegistry.s3storage.bucket`|string|Y| || |
| 38 | +|`containerRegistry.s3storage.certificate.kind`|string|N| `secret` || |
| 39 | +|`containerRegistry.s3storage.certificate.name`|string|Y| || |
| 40 | +|`certificate.kind`|string|N| `secret` || |
| 41 | +|`certificate.name`|string|Y| || |
| 42 | +|`imagePullSecrets[ ].kind`|string|N| `secret` || |
| 43 | +|`imagePullSecrets[ ].name`|string|Y| || |
| 44 | +|`workspace.runtime.fsShiftMethod`|string|N| `fuse`, `shiftfs` || |
| 45 | +|`workspace.runtime.containerdRuntimeDir`|string|Y| | The location of containerd socket on the host machine| |
| 46 | +|`workspace.runtime.containerdSocket`|string|Y| | The location of containerd socket on the host machine| |
| 47 | +|`workspace.resources.requests`||Y| | todo(sje): add custom validation to corev1.ResourceList| |
| 48 | +|`workspace.resources.limits`||N| || |
| 49 | +|`workspace.resources.dynamicLimits`||N| || |
| 50 | +|`workspace.templates.default`||N| || |
| 51 | +|`workspace.templates.prebuild`||N| || |
| 52 | +|`workspace.templates.ghost`||N| || |
| 53 | +|`workspace.templates.imagebuild`||N| || |
| 54 | +|`workspace.templates.regular`||N| || |
| 55 | +|`workspace.templates.probe`||N| || |
| 56 | +|`workspace.maxLifetime`||Y| | MaxLifetime is the maximum time a workspace is allowed to run. After that, the workspace times out despite activity| |
| 57 | +|`workspace.timeoutDefault`||N| | TimeoutDefault is the default timeout of a regular workspace| |
| 58 | +|`workspace.timeoutExtended`||N| | TimeoutExtended is the workspace timeout that a user can extend to for one workspace| |
| 59 | +|`workspace.timeoutAfterClose`||N| | TimeoutAfterClose is the time a workspace timed out after it has been closed (“closed” means that it does not get a heartbeat from an IDE anymore)| |
| 60 | +|`openVSX.url`|string|N| || |
| 61 | +|`authProviders[ ].kind`|string|N| `secret` || |
| 62 | +|`authProviders[ ].name`|string|Y| || |
| 63 | +|`blockNewUsers.enabled`|bool|N| || |
| 64 | +|`blockNewUsers.passlist[ ]`|[]string|N| || |
| 65 | +|`license.kind`|string|N| `secret` || |
| 66 | +|`license.name`|string|Y| || |
| 67 | +|`sshGatewayHostKey.kind`|string|N| `secret` || |
| 68 | +|`sshGatewayHostKey.name`|string|Y| || |
| 69 | +|`disableDefinitelyGp`|bool|N| || |
| 70 | +|`apiVersion`|string|Y| |API version of the Gitpod config defintion. `v1` in this version of Config| |
| 71 | + |
| 72 | + |
| 73 | +# Experimental config parameters v1 |
| 74 | + |
| 75 | +Additional config parameters that are in experimental state |
| 76 | + |
| 77 | +## Supported parameters |
| 78 | +| Property | Type | Required | Allowed| Description | |
| 79 | +| --- | --- | --- | --- | --- | |
| 80 | +|`experimental.workspace.tracing.samplerType`|string|N| `const`, `probabilistic`, `rateLimiting`, `remote` |Values taken from https://github.com/jaegertracing/jaeger-client-go/blob/967f9c36f0fa5a2617c9a0993b03f9a3279fadc8/config/config.go#L71| |
| 81 | +|`experimental.workspace.tracing.samplerParam`|float64|N| || |
| 82 | +|`experimental.workspace.stage`|string|N| || |
| 83 | +|`experimental.workspace.stage`|string|N| || |
| 84 | +|`experimental.workspace.registryFacade`||N| || |
| 85 | +|`experimental.webapp`|WebAppConfig|N| || |
| 86 | +|`experimental.ide`|IDEConfig|N| || |
| 87 | + |
| 88 | + |
0 commit comments