github devspace-sh/devspace v5.10.0

latest releases: v6.3.12, v6.3.11, v6.3.10...
3 years ago

Deprecation

Deprecation of commands devspace add deployment, devspace add image, devspace add port, devspace add sync, devspace remove deployment, devspace remove image, devspace remove port, devspace remove sync, devspace status sync and devspace update config. We feel these commands are rarely used, mostly outdated in terms of config options and are an increasing maintenance burden. The commands are still available, however DevSpace will now print a warning if you use them. The commands will be removed in a future DevSpace version.

New Features

  • DevSpace now allows you to specify variables within other variables default values, which makes it possible to compose variables of other variables. To use a variable in a default value, the variable that is used needs to be specified prior or needs to be a predefined variable. For example:
version: v1beta9
images:
  default:
    image: ${IMAGE}
vars:
  - name: IMAGE_REPOSITORY
    default: myrepository
    source: none
  - name: IMAGE_NAME
    default: devspace
    source: none
  - name: IMAGE
    default: ${IMAGE_REPOSITORY}/${IMAGE_NAME}
    source: none
  - name: NAMESPACE
    default: ${DEVSPACE_NAMESPACE}
    source: none
  • New option images.*.rebuildStrategy that can either take always or ignoreContextChanges to specify when DevSpace should rebuild an image (#1353)
  • New flag --max-concurrent-builds that limits the amount of concurrent image during devspace build, devspace dev, devspace render or devspace deploy (#1347)
  • New option images.*.build.kaniko.envFrom that allows you to specify environment variables from a config map or secret for the kaniko build pod (#1348)
  • Added support for devspace.dockerignore that will take precedence over a regular .dockerignore during image build (#1356)
  • New --output flag for devspace list vars that accepts the values keyvalue or json
  • New --overwrite flag for devspace set var that if set to false will not overwrite the variable when found in cache

Other Changes

  • Flags such as --sequential-build, --max-concurrent-builds and --skip-push-local-kube will now also apply to dependency builds
  • Fixed an issue where devspace set var would fail with base64 encoded strings
  • Fixed an issue where a nil pointer could occur if using a hooks.when.after.purgeDeployments hook (#1361)
  • DevSpace will now not return a fatal error if devspace update plugin cannot update the plugin because it is the newest version (#1352)
  • devspace list vars will now print all resolved variables of the current applied config instead of only all cached variables

Don't miss a new devspace release

NewReleases is sending notifications on new releases.