DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by FabianKramm about 3 years ago
dev.sync[*].onUpload.exec
that allows you to define commands that are executed on certain file changes. DevSpace makes sure that these commands are only executed after initial sync has finished and before the container might be restarted. For example:deployments:
- name: app-backend
helm:
componentChart: true
values:
containers:
- image: john/devbackend
dev:
sync:
- imageSelector: john/devbackend
onUpload:
# These post-sync commands will be executed after DevSpace synced changes to the container in the given order
exec:
- onChange: ["./package.json"]
command: |-
npm install
dev.replacePods[*].persistPaths
that allows you to persist certain paths with PVCs within the replaced pod for quicker syncing. For example:dev:
replacePods:
- imageSelector: my-app/dev
persistPaths:
- path: /app
# Optional path on the persistent volume to mount
# volumePath: /my-volume/app
# Optional name of the container to persist this path
# containerName: my-container
dev.replacePods[*].name
to define a name for the replace pods configurationdev.replacePods[*].persistenceOptions
that allows you to define PVC options for the dev.replacePods[*].persistPaths
feature--name
for devspace restart
to select a sync configkubectl
or helm
if those commands are used in a hook and not found locallydev.replacePods
are now replaced in paralleldev.ports
are now started in parallelApplied additional flags from environment
in devspace run
commandsdev.replacePods
and dev.ports
Published by FabianKramm about 3 years ago
images.build.kaniko.tolerations
to define tolerations for the kaniko pod$(cat deployment.yaml)
hooks[*].when.onError
hooks in config version v1beta10
would get not converted correctly (#1681)Published by FabianKramm about 3 years ago
images.build.kaniko.tolerations
to define tolerations for the kaniko pod$(cat deployment.yaml)
hooks[*].when.onError
hooks in config version v1beta10
would get not converted correctly (#1681)Published by FabianKramm about 3 years ago
images.build.kaniko.tolerations
to define tolerations for the kaniko pod$(cat deployment.yaml)
hooks[*].when.onError
hooks in config version v1beta10
would get not converted correctly (#1681)Published by FabianKramm about 3 years ago
Config expressions are a powerful feature to load the devspace.yaml in a more dynamic way. A config expression works by specifying $( my bash expression )
instead of a field and the stdout of the bash expression is taken as value instead.
deployments:
- $(cat deployment.yaml)
deployments:
# Inline if-else
- $( [ ${DEVSPACE_NAMESPACE} == "test" ] && cat deployment.yaml || echo "" )
# Multiline if-else
- |-
$(
if [ ${DEVSPACE_CONTEXT} == "minikube" ]; then
cat minikube.yaml
else
echo ""
fi
)
dev: $(./my-script.sh ${DEVSPACE_NAMESPACE} ${DEVSPACE_CONTEXT} ${DEVSPACE_PROFILE})
images:
test:
image: my-image/image
build: '$( echo {"disabled": true} )'
v1beta11
:imageName
as selector, please use imageSelector: image(name):tag(name)
insteaddev.logs.images
, please use dev.logs.selectors
insteadhooks.where.container
to hooks.container
commands.appendArgs
now defaults to falsedependencies[*].overrideVars
now defaults to falsehooks.when
to hooks.events
, which is a string array now that supports the following events:
before:deploy
, after:deploy
, before:deploy:[name]
, after:deploy:[name]
, error:deploy:[name]
, skip:deploy:[name]
: executed while DevSpace deploys deployments
. [name]
can be replaced with the config name of a deployment or *
to match all.before:render
, after:render
, before:render:[name]
, after:render:[name]
, error:render:[name]
: executed while DevSpace renders deployments
during devspace render
. [name]
can be replaced with the config name of a deployment or *
to match all.before:purge
, after:purge
, before:purge:[name]
, after:purge:[name]
, error:purge:[name]
: executed while DevSpace purges deployments
during devspace purge
. [name]
can be replaced with the config name of a deployment or *
to match all.before:build
, after:build
, before:build:[name]
, after:build:[name]
, error:build:[name]
, skip:build:[name]
: executed while DevSpace builds images
. [name]
can be replaced with the config name of an image or *
to match all.start:sync:[name]
, stop:sync:[name]
, error:sync:[name]
, restart:sync:[name]
, before:initialSync:[name]
, after:initialSync:[name]
, error:initialSync:[name]
: executed while DevSpace syncs files with dev.sync
. [name]
can be replaced with the config name of a sync configuration or *
to match all.start:portForwarding:[name]
, restart:portForwarding:[name]
, error:portForwarding:[name]
, stop:portForwarding:[name]
: executed while DevSpace port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.start:reversePortForwarding:[name]
, restart:reversePortForwarding:[name]
, error:reversePortForwarding:[name]
, stop:reversePortForwarding:[name]
: executed while DevSpace reverse port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.before:createPullSecrets
, after:createPullSecrets
, error:createPullSecrets
: executed while DevSpace creates pullSecrets
devCommand:before:execute
, devCommand:after:execute
, devCommand:error
, devCommand:interrupt
, devCommand:before:sync
, devCommand:after:sync
, devCommand:before:portForwarding
, devCommand:after:portForwarding
, devCommand:before:replacePods
, devCommand:after:replacePods
, devCommand:before:runPipeline
, devCommand:after:runPipeline
, devCommand:before:deployDependencies
, devCommand:after:deployDependencies
, devCommand:before:build
, devCommand:after:build
, devCommand:before:deploy
, devCommand:after:deploy
, devCommand:before:openTerminal
, devCommand:before:streamLogs
: executed at certain lifecycle events during the devspace dev
commanddeployCommand:before:execute
, deployCommand:after:execute
, deployCommand:error
, deployCommand:interrupt
executed at different checkpoints when devspace deploy
is executedpurgeCommand:before:execute
, purgeCommand:after:execute
, purgeCommand:error
, purgeCommand:interrupt
executed at different checkpoints when devspace purge
is executedbuildCommand:before:execute
, buildCommand:after:execute
, buildCommand:error
, buildCommand:interrupt
executed at different checkpoints when devspace build
is executedIt is now possible to use filter paths and wildcards in profile & pod patches. For example:
images:
backend:
image: john/devbackend
backend-debugger:
image: john/debugger
deployments:
- name: backend
helm:
componentChart: true
values:
containers:
- image: john/devbackend
- image: john/debugger
profiles:
- name: staging
patches:
- op: replace
path: ..[?(@.image=='john/devbackend')].image
value: john/stagingbackend
- op: remove
path: deployments..[?(@.image=='john/debugger')]
For more informations take a look at the docs.
image(default)
and tag(default)
in hook commands and args:images:
test:
image: test/test
hooks:
- command: |-
./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
when:
after:
images: all
hooks[*].container.once
that will execute remote container command hooks only once during the lifetime of a containerdevspace dev
. Can be disabled via the flag --terminal-reconnect=false
--reconnect
for command devspace enter
to restart the terminal if an unexpected exit code was encountered--image-selector
for commands devspace enter
, devspace logs
& devspace attach
pathType
was not automatically set for newer ingress versionsdevspace.yaml
would target the same pods (#1633)Published by FabianKramm about 3 years ago
Config expressions are a powerful feature to load the devspace.yaml in a more dynamic way. A config expression works by specifying $( my bash expression )
instead of a field and the stdout of the bash expression is taken as value instead.
deployments:
- $(cat deployment.yaml)
deployments:
# Inline if-else
- $( [ ${DEVSPACE_NAMESPACE} == "test" ] && cat deployment.yaml || echo "" )
# Multiline if-else
- |-
$(
if [ ${DEVSPACE_CONTEXT} == "minikube" ]; then
cat minikube.yaml
else
echo ""
fi
)
dev: $(./my-script.sh ${DEVSPACE_NAMESPACE} ${DEVSPACE_CONTEXT} ${DEVSPACE_PROFILE})
images:
test:
image: my-image/image
build: '$( echo {"disabled": true} )'
v1beta11
:imageName
as selector, please use imageSelector: image(name):tag(name)
insteaddev.logs.images
, please use dev.logs.selectors
insteadhooks.where.container
to hooks.container
commands.appendArgs
now defaults to falsedependencies[*].overrideVars
now defaults to falsehooks.when
to hooks.events
, which is a string array now that supports the following events:
before:deploy
, after:deploy
, before:deploy:[name]
, after:deploy:[name]
, error:deploy:[name]
, skip:deploy:[name]
: executed while DevSpace deploys deployments
. [name]
can be replaced with the config name of a deployment or *
to match all.before:render
, after:render
, before:render:[name]
, after:render:[name]
, error:render:[name]
: executed while DevSpace renders deployments
during devspace render
. [name]
can be replaced with the config name of a deployment or *
to match all.before:purge
, after:purge
, before:purge:[name]
, after:purge:[name]
, error:purge:[name]
: executed while DevSpace purges deployments
during devspace purge
. [name]
can be replaced with the config name of a deployment or *
to match all.before:build
, after:build
, before:build:[name]
, after:build:[name]
, error:build:[name]
, skip:build:[name]
: executed while DevSpace builds images
. [name]
can be replaced with the config name of an image or *
to match all.start:sync:[name]
, stop:sync:[name]
, error:sync:[name]
, restart:sync:[name]
, before:initialSync:[name]
, after:initialSync:[name]
, error:initialSync:[name]
: executed while DevSpace syncs files with dev.sync
. [name]
can be replaced with the config name of a sync configuration or *
to match all.start:portForwarding:[name]
, restart:portForwarding:[name]
, error:portForwarding:[name]
, stop:portForwarding:[name]
: executed while DevSpace port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.start:reversePortForwarding:[name]
, restart:reversePortForwarding:[name]
, error:reversePortForwarding:[name]
, stop:reversePortForwarding:[name]
: executed while DevSpace reverse port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.before:createPullSecrets
, after:createPullSecrets
, error:createPullSecrets
: executed while DevSpace creates pullSecrets
devCommand:before:execute
, devCommand:after:execute
, devCommand:error
, devCommand:interrupt
, devCommand:before:sync
, devCommand:after:sync
, devCommand:before:portForwarding
, devCommand:after:portForwarding
, devCommand:before:replacePods
, devCommand:after:replacePods
, devCommand:before:runPipeline
, devCommand:after:runPipeline
, devCommand:before:deployDependencies
, devCommand:after:deployDependencies
, devCommand:before:build
, devCommand:after:build
, devCommand:before:deploy
, devCommand:after:deploy
, devCommand:before:openTerminal
, devCommand:before:streamLogs
: executed at certain lifecycle events during the devspace dev
commanddeployCommand:before:execute
, deployCommand:after:execute
, deployCommand:error
, deployCommand:interrupt
executed at different checkpoints when devspace deploy
is executedpurgeCommand:before:execute
, purgeCommand:after:execute
, purgeCommand:error
, purgeCommand:interrupt
executed at different checkpoints when devspace purge
is executedbuildCommand:before:execute
, buildCommand:after:execute
, buildCommand:error
, buildCommand:interrupt
executed at different checkpoints when devspace build
is executedIt is now possible to use filter paths and wildcards in profile & pod patches. For example:
images:
backend:
image: john/devbackend
backend-debugger:
image: john/debugger
deployments:
- name: backend
helm:
componentChart: true
values:
containers:
- image: john/devbackend
- image: john/debugger
profiles:
- name: staging
patches:
- op: replace
path: ..[?(@.image=='john/devbackend')].image
value: john/stagingbackend
- op: remove
path: deployments..[?(@.image=='john/debugger')]
For more informations take a look at the docs.
image(default)
and tag(default)
in hook commands and args:images:
test:
image: test/test
hooks:
- command: |-
./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
when:
after:
images: all
hooks[*].container.once
that will execute remote container command hooks only once during the lifetime of a containerdevspace dev
. Can be disabled via the flag --terminal-reconnect=false
--reconnect
for command devspace enter
to restart the terminal if an unexpected exit code was encountered--image-selector
for commands devspace enter
, devspace logs
& devspace attach
pathType
was not automatically set for newer ingress versionsdevspace.yaml
would target the same pods (#1633)Published by FabianKramm about 3 years ago
Config expressions are a powerful feature to load the devspace.yaml in a more dynamic way. A config expression works by specifying $( my bash expression )
instead of a field and the stdout of the bash expression is taken as value instead.
deployments:
- $(cat deployment.yaml)
deployments:
# Inline if-else
- $( [ ${DEVSPACE_NAMESPACE} == "test" ] && cat deployment.yaml || echo "" )
# Multiline if-else
- |-
$(
if [ ${DEVSPACE_CONTEXT} == "minikube" ]; then
cat minikube.yaml
else
echo ""
fi
)
dev: $(./my-script.sh ${DEVSPACE_NAMESPACE} ${DEVSPACE_CONTEXT} ${DEVSPACE_PROFILE})
images:
test:
image: my-image/image
build: '$( echo {"disabled": true} )'
v1beta11
:imageName
as selector, please use imageSelector: image(name):tag(name)
insteaddev.logs.images
, please use dev.logs.selectors
insteadhooks.where.container
to hooks.container
commands.appendArgs
now defaults to falsedependencies[*].overrideVars
now defaults to falsehooks.when
to hooks.events
, which is a string array now that supports the following events:
before:deploy
, after:deploy
, before:deploy:[name]
, after:deploy:[name]
, error:deploy:[name]
, skip:deploy:[name]
: executed while DevSpace deploys deployments
. [name]
can be replaced with the config name of a deployment or *
to match all.before:render
, after:render
, before:render:[name]
, after:render:[name]
, error:render:[name]
: executed while DevSpace renders deployments
during devspace render
. [name]
can be replaced with the config name of a deployment or *
to match all.before:purge
, after:purge
, before:purge:[name]
, after:purge:[name]
, error:purge:[name]
: executed while DevSpace purges deployments
during devspace purge
. [name]
can be replaced with the config name of a deployment or *
to match all.before:build
, after:build
, before:build:[name]
, after:build:[name]
, error:build:[name]
, skip:build:[name]
: executed while DevSpace builds images
. [name]
can be replaced with the config name of an image or *
to match all.start:sync:[name]
, stop:sync:[name]
, error:sync:[name]
, restart:sync:[name]
, before:initialSync:[name]
, after:initialSync:[name]
, error:initialSync:[name]
: executed while DevSpace syncs files with dev.sync
. [name]
can be replaced with the config name of a sync configuration or *
to match all.start:portForwarding:[name]
, restart:portForwarding:[name]
, error:portForwarding:[name]
, stop:portForwarding:[name]
: executed while DevSpace port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.start:reversePortForwarding:[name]
, restart:reversePortForwarding:[name]
, error:reversePortForwarding:[name]
, stop:reversePortForwarding:[name]
: executed while DevSpace reverse port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.before:createPullSecrets
, after:createPullSecrets
, error:createPullSecrets
: executed while DevSpace creates pullSecrets
devCommand:before:execute
, devCommand:after:execute
, devCommand:error
, devCommand:interrupt
, devCommand:before:sync
, devCommand:after:sync
, devCommand:before:portForwarding
, devCommand:after:portForwarding
, devCommand:before:replacePods
, devCommand:after:replacePods
, devCommand:before:runPipeline
, devCommand:after:runPipeline
, devCommand:before:deployDependencies
, devCommand:after:deployDependencies
, devCommand:before:build
, devCommand:after:build
, devCommand:before:deploy
, devCommand:after:deploy
, devCommand:before:openTerminal
, devCommand:before:streamLogs
: executed at certain lifecycle events during the devspace dev
commanddeployCommand:before:execute
, deployCommand:after:execute
, deployCommand:error
, deployCommand:interrupt
executed at different checkpoints when devspace deploy
is executedpurgeCommand:before:execute
, purgeCommand:after:execute
, purgeCommand:error
, purgeCommand:interrupt
executed at different checkpoints when devspace purge
is executedbuildCommand:before:execute
, buildCommand:after:execute
, buildCommand:error
, buildCommand:interrupt
executed at different checkpoints when devspace build
is executedIt is now possible to use filter paths and wildcards in profile & pod patches. For example:
images:
backend:
image: john/devbackend
backend-debugger:
image: john/debugger
deployments:
- name: backend
helm:
componentChart: true
values:
containers:
- image: john/devbackend
- image: john/debugger
profiles:
- name: staging
patches:
- op: replace
path: ..[?(@.image=='john/devbackend')].image
value: john/stagingbackend
- op: remove
path: deployments..[?(@.image=='john/debugger')]
For more informations take a look at the docs.
image(default)
and tag(default)
in hook commands and args:images:
test:
image: test/test
hooks:
- command: |-
./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
when:
after:
images: all
devspace dev
. Can be disabled via the flag --terminal-restart=false
--restart
for command devspace enter
to restart the terminal if a non-zero exit code was encountered--image-selector
for commands devspace enter
, devspace logs
& devspace attach
pathType
was not automatically set for newer ingress versionsdevspace.yaml
would target the same pods (#1633)Published by FabianKramm about 3 years ago
Config expressions are a powerful feature to load the devspace.yaml in a more dynamic way. A config expression works by specifying $( my bash expression )
instead of a field and the stdout of the bash expression is taken as value instead.
deployments:
- $(cat deployment.yaml)
deployments:
# Inline if-else
- $( [ ${DEVSPACE_NAMESPACE} == "test" ] && cat deployment.yaml || echo "" )
# Multiline if-else
- |-
$(
if [ ${DEVSPACE_CONTEXT} == "minikube" ]; then
cat minikube.yaml
else
echo ""
fi
)
dev: $(./my-script.sh ${DEVSPACE_NAMESPACE} ${DEVSPACE_CONTEXT} ${DEVSPACE_PROFILE})
images:
test:
image: my-image/image
build: '$( echo {"disabled": true} )'
v1beta11
:imageName
as selector, please use imageSelector: image(name):tag(name)
insteaddev.logs.images
, please use dev.logs.selectors
insteadhooks.where.container
to hooks.container
commands.appendArgs
now defaults to falsedependencies[*].overrideVars
now defaults to falsehooks.when
to hooks.events
, which is a string array now that supports the following events:
before:deploy
, after:deploy
, before:deploy:[name]
, after:deploy:[name]
, error:deploy:[name]
, skip:deploy:[name]
: executed while DevSpace deploys deployments
. [name]
can be replaced with the config name of a deployment or *
to match all.before:render
, after:render
, before:render:[name]
, after:render:[name]
, error:render:[name]
: executed while DevSpace renders deployments
during devspace render
. [name]
can be replaced with the config name of a deployment or *
to match all.before:purge
, after:purge
, before:purge:[name]
, after:purge:[name]
, error:purge:[name]
: executed while DevSpace purges deployments
during devspace purge
. [name]
can be replaced with the config name of a deployment or *
to match all.before:build
, after:build
, before:build:[name]
, after:build:[name]
, error:build:[name]
, skip:build:[name]
: executed while DevSpace builds images
. [name]
can be replaced with the config name of an image or *
to match all.start:sync:[name]
, stop:sync:[name]
, error:sync:[name]
, restart:sync:[name]
, before:initialSync:[name]
, after:initialSync:[name]
, error:initialSync:[name]
: executed while DevSpace syncs files with dev.sync
. [name]
can be replaced with the config name of a sync configuration or *
to match all.start:portForwarding:[name]
, restart:portForwarding:[name]
, error:portForwarding:[name]
, stop:portForwarding:[name]
: executed while DevSpace port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.start:reversePortForwarding:[name]
, restart:reversePortForwarding:[name]
, error:reversePortForwarding:[name]
, stop:reversePortForwarding:[name]
: executed while DevSpace reverse port forwards with dev.ports
. [name]
can be replaced with the config name of a port forwarding configuration or *
to match all.before:createPullSecrets
, after:createPullSecrets
, error:createPullSecrets
: executed while DevSpace creates pullSecrets
devCommand:before:execute
, devCommand:after:execute
, devCommand:error
, devCommand:interrupt
, devCommand:before:sync
, devCommand:after:sync
, devCommand:before:portForwarding
, devCommand:after:portForwarding
, devCommand:before:replacePods
, devCommand:after:replacePods
, devCommand:before:runPipeline
, devCommand:after:runPipeline
, devCommand:before:deployDependencies
, devCommand:after:deployDependencies
, devCommand:before:build
, devCommand:after:build
, devCommand:before:deploy
, devCommand:after:deploy
, devCommand:before:openTerminal
, devCommand:before:streamLogs
: executed at certain lifecycle events during the devspace dev
commanddeployCommand:before:execute
, deployCommand:after:execute
, deployCommand:error
, deployCommand:interrupt
executed at different checkpoints when devspace deploy
is executedpurgeCommand:before:execute
, purgeCommand:after:execute
, purgeCommand:error
, purgeCommand:interrupt
executed at different checkpoints when devspace purge
is executedbuildCommand:before:execute
, buildCommand:after:execute
, buildCommand:error
, buildCommand:interrupt
executed at different checkpoints when devspace build
is executedIt is now possible to use filter paths and wildcards in profile & pod patches. For example:
images:
backend:
image: john/devbackend
backend-debugger:
image: john/debugger
deployments:
- name: backend
helm:
componentChart: true
values:
containers:
- image: john/devbackend
- image: john/debugger
profiles:
- name: staging
patches:
- op: replace
path: ..[?(@.image=='john/devbackend')].image
value: john/stagingbackend
- op: remove
path: deployments..[?(@.image=='john/debugger')]
For more informations take a look at the docs.
image(default)
and tag(default)
in hook commands and args:images:
test:
image: test/test
hooks:
- command: |-
./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
when:
after:
images: all
devspace dev
. Can be disabled via the flag --terminal-restart=false
--restart
for command devspace enter
to restart the terminal if a non-zero exit code was encountered--image-selector
for commands devspace enter
, devspace logs
& devspace attach
pathType
was not automatically set for newer ingress versionsdevspace.yaml
would target the same pods (#1633)Published by FabianKramm about 3 years ago
Config expressions are a powerful feature to load the devspace.yaml in a more dynamic way. A config expression works by specifying $( my bash expression )
instead of a field and the stdout of the bash expression is taken as value instead.
deployments:
- $(cat deployment.yaml)
deployments:
# Inline if-else
- $( [ ${DEVSPACE_NAMESPACE} == "test" ] && cat deployment.yaml || echo "" )
# Multiline if-else
- |-
$(
if [ ${DEVSPACE_CONTEXT} == "minikube" ]; then
cat minikube.yaml
else
echo ""
fi
)
dev: $(./my-script.sh ${DEVSPACE_NAMESPACE} ${DEVSPACE_CONTEXT} ${DEVSPACE_PROFILE})
images:
test:
image: my-image/image
build: '$( echo {"disabled": true} )'
image(default)
and tag(default)
in hook commands and args:images:
test:
image: test/test
hooks:
- command: |-
./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
when:
after:
images: all
--image-selector
for commands devspace enter
, devspace logs
& devspace attach
pathType
was not automatically set for newer ingress versionsdevspace.yaml
would target the same pods (#1633)Published by FabianKramm about 3 years ago
--profile
can now be used multiple times to apply several profiles, flag --profile-parent
is now deprecatedprofiles[*].activate
to automatically activate profiles based on environment variables--disable-profile-activation
to disable automatic activation of profilesdependencies[*].disableProfileActivation
for dependencies to disable automatic activation of profiles in dependenciesdev.logs.selectors[*].imageSelector
option to select images that should be logged by image nameexcludeFile
, downloadExcludeFile
, and uploadExclude
options for loading exclude paths from files using .gitignore
syntax (#1562)hooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
hooks[*].when.before.initialSync
and hooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has startedname
for dev.sync
and dev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577)noCache
for variables that disables caching of variable inputdependencies[*].dev.replacePods
to enable replace pods from dependencies--skip-dependency
for devspace build
, devspace dev
, devspace purge
, devspace deploy
& devspace render
commands[*].appendArgs
to prevent DevSpace from automatically appending arguments to a command (#1598)devspace sync
would exit immediately after initial sync and hooksdevspace init
devspace sync --config ...
would use the current directory as base path instead of the config directorydevspace-restart-helper
in log messageshttp
was hardcoded as target domain in DevSpace UI (#1574)$@
, $#
or $0
etc. in commands would not work correctly (#1598)Published by FabianKramm about 3 years ago
profiles[*].activate
to automatically activate profiles based on environment variables--disable-profile-activation
to disable automatic activation of profilesdependencies[*].disableProfileActivation
for dependencies to disable automatic activation of profiles in dependenciesdev.logs.selectors[*].imageSelector
option to select images that should be logged by image nameexcludeFile
, downloadExcludeFile
, and uploadExclude
options for loading exclude paths from files using .gitignore
syntax (#1562)hooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
hooks[*].when.before.initialSync
and hooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has startedname
for dev.sync
and dev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577)noCache
for variables that disables caching of variable inputdependencies[*].dev.replacePods
to enable replace pods from dependencies--skip-dependency
for devspace build
, devspace dev
, devspace purge
, devspace deploy
& devspace render
commands[*].appendArgs
to prevent DevSpace from automatically appending arguments to a command (#1598)devspace sync
would exit immediately after initial sync and hooksdevspace init
devspace sync --config ...
would use the current directory as base path instead of the config directorydevspace-restart-helper
in log messageshttp
was hardcoded as target domain in DevSpace UI (#1574)$@
, $#
or $0
etc. in commands would not work correctly (#1598)Published by FabianKramm about 3 years ago
profiles[*].activate
to automatically activate profiles based on environment variables--disable-profile-activation
to disable automatic activation of profilesdependencies[*].disableProfileActivation
for dependencies to disable automatic activation of profiles in dependenciesdev.logs.selectors[*].imageSelector
option to select images that should be logged by image namehooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
hooks[*].when.before.initialSync
and hooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has startedname
for dev.sync
and dev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577)noCache
for variables that disables caching of variable inputdependencies[*].dev.replacePods
to enable replace pods from dependencies--skip-dependency
for devspace build
, devspace dev
, devspace purge
, devspace deploy
& devspace render
commands[*].appendArgs
to prevent DevSpace from automatically appending arguments to a command (#1598)devspace sync --config ...
would use the current directory as base path instead of the config directorydevspace-restart-helper
in log messageshttp
was hardcoded as target domain in DevSpace UI (#1574)$@
, $#
or $0
etc. in commands would not work correctly (#1598)Published by FabianKramm about 3 years ago
dev.logs.selectors[*].imageSelector
option to select images that should be logged by image namehooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
hooks[*].when.before.initialSync
and hooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has startedname
for dev.sync
and dev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577)noCache
for variables that disables caching of variable inputdevspace-restart-helper
in log messageshttp
was hardcoded as target domain in DevSpace UI (#1574)Published by FabianKramm about 3 years ago
dev.logs.selectors[*].imageSelector
option to select images that should be logged by image namehooks:
- command: |
echo 123
echo 456
echo 789
where:
container:
imageSelector: my-image
when:
after:
deployments: all
hooks[*].when.before.initialSync
and hooks[*].when.after.initialSync
that executes a hook after or before a certain sync configuration's initial sync has startedname
for dev.sync
and dev.ports
. This can be used as a steady identifier when using profile patches or initial sync hooks. (#1577)noCache
for variables that disables caching of variable inputdevspace-restart-helper
in log messageshttp
was hardcoded as target domain in DevSpace UI (#1574)Published by FabianKramm over 3 years ago
dev.replacePods
with multiple label selectors would throw an error (#1499)hooks[*].wait
to become ready instead of just running (#1489)Published by FabianKramm over 3 years ago
dev.replacePods
with multiple label selectors would throw an error (#1499)hooks[*].wait
to become ready instead of just running (#1489)Published by FabianKramm over 3 years ago
dev.replacePods
with multiple label selectors would throw an error (#1499)hooks[*].wait
to become ready instead of just running (#1489)Published by FabianKramm over 3 years ago
dev.replacePods
with multiple label selectors would throw an error (#1499)hooks[*].wait
to become ready instead of just running (#1489)Published by FabianKramm over 3 years ago
hooks[*].wait
to become ready instead of just running (#1489)Published by FabianKramm over 3 years ago
dev.replacePods
would fail config validation