Skip to content

Commit bb0474b

Browse files
authored
Merge pull request #2539 from FabianKramm/main
feat: add localRegistry.buildKitImage
2 parents 361607c + 3d830c3 commit bb0474b

12 files changed

Lines changed: 89 additions & 12 deletions

File tree

devspace-schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,10 @@
10911091
"type": "string",
10921092
"description": "ServiceAccount the service account to use for the kaniko pod"
10931093
},
1094+
"generateName": {
1095+
"type": "string",
1096+
"description": "GenerateName is the optional prefix that will be set to the generateName field of the build pod"
1097+
},
10941098
"annotations": {
10951099
"patternProperties": {
10961100
".*": {
@@ -1178,6 +1182,10 @@
11781182
"type": "string",
11791183
"description": "KubectlBinaryPath is the optional path where to find the kubectl binary"
11801184
},
1185+
"inlineManifest": {
1186+
"type": "string",
1187+
"description": "InlineManists is a block containing the manifest to deploy"
1188+
},
11811189
"kustomize": {
11821190
"type": "boolean",
11831191
"description": "Kustomize can be used to enable kustomize instead of kubectl",
@@ -1219,6 +1227,10 @@
12191227
"type": "string",
12201228
"description": "Image of the local registry. Default is `registry:2.8.1`"
12211229
},
1230+
"buildKitImage": {
1231+
"type": "string",
1232+
"description": "BuildKitImage of the buildkit sidecar. Default is `moby/buildkit:master-rootless`"
1233+
},
12221234
"port": {
12231235
"type": "integer",
12241236
"description": "Port that the registry image listens on. Default is `5000`"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field" data-expandable="false" open>
3+
<summary>
4+
5+
### `disabled` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">false</span> <span className="config-field-enum"></span> {#dependencies-disabled}
6+
7+
Disabled excludes this dependency from variable resolution and pipeline runs
8+
9+
</summary>
10+
11+
12+
13+
</details>

docs/pages/configuration/_partials/v2beta1/dependencies/group_execution.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import PartialVars from "./vars.mdx"
44
import PartialOverwriteVars from "./overwriteVars.mdx"
55
import PartialIgnoreDependencies from "./ignoreDependencies.mdx"
66
import PartialNamespace from "./namespace.mdx"
7-
import PartialProfiles from "./profiles.mdx"
87

98
<div className="group" data-group="execution">
109
<div className="group-name">Execution</div>
@@ -14,6 +13,5 @@ import PartialProfiles from "./profiles.mdx"
1413
<PartialOverwriteVars />
1514
<PartialIgnoreDependencies />
1615
<PartialNamespace />
17-
<PartialProfiles />
1816

1917
</div>

docs/pages/configuration/_partials/v2beta1/dependencies_reference.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11

2+
import PartialDisabled from "./dependencies/disabled.mdx"
23
import PartialGrouppath from "./dependencies/group_path.mdx"
34
import PartialGroupgit from "./dependencies/group_git.mdx"
45
import PartialGroupexecution from "./dependencies/group_execution.mdx"
56

7+
<PartialDisabled />
8+
9+
610
<PartialGrouppath />
711

812

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field" data-expandable="false" open>
3+
<summary>
4+
5+
#### `inlineManifest` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#deployments-kubectl-inlineManifest}
6+
7+
InlineManifests is a block containing the manifest to deploy
8+
9+
</summary>
10+
11+
12+
13+
</details>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11

22
import PartialManifests from "./kubectl/manifests.mdx"
3-
import PartialInlineManifests from "./kubectl/inline_manifests.mdx"
43
import PartialApplyArgs from "./kubectl/applyArgs.mdx"
54
import PartialCreateArgs from "./kubectl/createArgs.mdx"
65
import PartialKubectlBinaryPath from "./kubectl/kubectlBinaryPath.mdx"
6+
import PartialInlineManifest from "./kubectl/inlineManifest.mdx"
77
import PartialGroupkustomize from "./kubectl/group_kustomize.mdx"
88

99
<PartialManifests />
1010

1111

12-
<PartialInlineManifests />
13-
14-
1512
<PartialApplyArgs />
1613

1714

@@ -21,4 +18,7 @@ import PartialGroupkustomize from "./kubectl/group_kustomize.mdx"
2118
<PartialKubectlBinaryPath />
2219

2320

21+
<PartialInlineManifest />
22+
23+
2424
<PartialGroupkustomize />

docs/pages/configuration/_partials/v2beta1/images/kaniko/generateName.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#### `generateName` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#images-kaniko-generateName}
66

7-
GenerateName will be used as the generateName field of the build pod
7+
GenerateName is the optional prefix that will be set to the generateName field of the build pod
88

99
</summary>
1010

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
<details className="config-field" data-expandable="false" open>
3+
<summary>
4+
5+
### `buildKitImage` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#localRegistry-buildKitImage}
6+
7+
BuildKitImage of the buildkit sidecar. Default is `moby/buildkit:master-rootless`
8+
9+
</summary>
10+
11+
12+
13+
</details>

docs/pages/configuration/_partials/v2beta1/localRegistry_reference.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import PartialEnabled from "./localRegistry/enabled.mdx"
33
import PartialNamespace from "./localRegistry/namespace.mdx"
44
import PartialName from "./localRegistry/name.mdx"
55
import PartialImage from "./localRegistry/image.mdx"
6+
import PartialBuildKitImage from "./localRegistry/buildKitImage.mdx"
67
import PartialPort from "./localRegistry/port.mdx"
78
import PartialPersistencereference from "./localRegistry/persistence_reference.mdx"
89

@@ -18,6 +19,9 @@ import PartialPersistencereference from "./localRegistry/persistence_reference.m
1819
<PartialImage />
1920

2021

22+
<PartialBuildKitImage />
23+
24+
2125
<PartialPort />
2226

2327

docs/schemas/config-openapi.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,10 @@
10991099
"type": "string",
11001100
"description": "ServiceAccount the service account to use for the kaniko pod"
11011101
},
1102+
"generateName": {
1103+
"type": "string",
1104+
"description": "GenerateName is the optional prefix that will be set to the generateName field of the build pod"
1105+
},
11021106
"annotations": {
11031107
"patternProperties": {
11041108
".*": {
@@ -1168,10 +1172,6 @@
11681172
"type": "array",
11691173
"description": "Manifests is a list of files or folders that will be deployed by DevSpace using kubectl\nor kustomize"
11701174
},
1171-
"inlineManifest": {
1172-
"type": "string",
1173-
"description": "InlineManifest is a block containing the yaml that will be deployed by DevSpace using kubectl"
1174-
},
11751175
"applyArgs": {
11761176
"items": {
11771177
"type": "string"
@@ -1190,6 +1190,10 @@
11901190
"type": "string",
11911191
"description": "KubectlBinaryPath is the optional path where to find the kubectl binary"
11921192
},
1193+
"inlineManifest": {
1194+
"type": "string",
1195+
"description": "InlineManists is a block containing the manifest to deploy"
1196+
},
11931197
"kustomize": {
11941198
"type": "boolean",
11951199
"description": "Kustomize can be used to enable kustomize instead of kubectl",
@@ -1231,6 +1235,10 @@
12311235
"type": "string",
12321236
"description": "Image of the local registry. Default is `registry:2.8.1`"
12331237
},
1238+
"buildKitImage": {
1239+
"type": "string",
1240+
"description": "BuildKitImage of the buildkit sidecar. Default is `moby/buildkit:master-rootless`"
1241+
},
12341242
"port": {
12351243
"type": "integer",
12361244
"description": "Port that the registry image listens on. Default is `5000`"

0 commit comments

Comments
 (0)