You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/configuration/config.yaml.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,20 @@ devSpace:
14
14
# For this deployment we use helm as deployment method (kubectl would be also an option)
15
15
helm:
16
16
chartPath: ./chart
17
+
devOverwrite: ./chart/dev-overwrite.yaml
17
18
sync:
18
19
- containerPath: /app
19
20
labelSelector:
20
21
release: devspace-default
21
22
localSubPath: ./
22
23
uploadExcludePaths:
23
24
- .devspace/
25
+
portForwarding:
26
+
- labelSelector:
27
+
release: devspace-default
28
+
portMappings:
29
+
- localPort: 3000
30
+
remotePort: 3000
24
31
images:
25
32
default:
26
33
name: mydockername/devspace
@@ -45,6 +52,7 @@ In this section, so called deployments are defined, which will be deployed to th
45
52
### devspace.deployments[].helm
46
53
When specifying helm as deployment method, `devspace up` will deploy the specified chart in the target cluster. If no tiller server is found, it will also attempt to deploy a tiller server.
47
54
- `chartPath`*string* the path where the helm chart is laying
55
+
- `devOverwrite`*string* the path to a files that overwrites the values.yaml when using `devspace up`
48
56
49
57
### devspace.deployments[].kubectl
50
58
When using kubectl as deployment method, `devspace up` will use kubectl apply on the specified manifests to deploy them to the target cluster. [Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl) is needed in order for this option to work.
@@ -186,7 +194,9 @@ devSpace:
186
194
- name: devspace-default # this is also the release name, when using helm as deployment method
187
195
helm:
188
196
# Use helm to deploy this chart
189
-
chartPath: chart/
197
+
chartPath: ./chart
198
+
# Overwrite the values.yaml with dev-values.yaml when running devspace up
0 commit comments