Releases: splunk/qbec
Releases · splunk/qbec
v0.12.2
- Fix a bug where under certain circumstances of failed discovery, qbec would delete resources not meant to be deleted.
Thanks to @sj14 for the bug report and partial fix. - Add a warning when remote listing for GC switches to cluster scoped mode with a reason as to why this is happening.
These are typically setup errors by authors who want to deploy to a single namespace. - Fix pluralization for more kinds when using the kind filter
- Create and run basic integration tests for qbec against a local kind cluster
v0.12.1
- Add an
error-exit
option to thediff
command to be able to exit 0 even when diffs are present. This currently has atrue
default for backwards compatibility. The next minor release of qbec will flip this default tofalse
. - Improve error message when object processing fails due to bad json created by a component. Thanks to @wurbanski for this contribution.
v0.12.0
There are no backwards-incompatible changes in this release. The minor version upgrade is to account for any
inadvertent incompatibilities introduced by the jsonnet library upgrade.
- Add
alpha fmt
command to format jsonnet/ libsonnet files and, optionally, yaml files (thanks to @harsimranmaan).
This also has facilities to only check if all files are well-formatted. Typeqbec alpha fmt --help
for details.
v0.11.2
- Fix regression in previous release where
LD_FLAGS
were not set correctly causing qbec to report a wrong version.
Please avoid using v0.11.1
as a result.
v0.11.1
- Add ability to refer to an environment by context name rather than server URL. This is useful for environments such as
minikube
andkind
that do not have a stable URL. Since this requires a shared context name, it should be used sparingly. - Add ability to introduce an environment file not declared in qbec.yaml. This is controlled by the
--env-file
parameter to qbec commands. Environments in this additional file will override environments of the same name if they already exist. - Add ability to force namespace to the current value in the kubeconfig using the keyword
__current__
. This can only be done only if the context is also similarly forced. - Reduce verbosity of
apply
output. By default, dry-run works as before and actual apply only shows a single line per object added/ updated/ deleted. This behavior can be explicitly controlled by the--show-details
flag for the apply command.
This release has a known problem in that qbec does not report the correct version in the version
command. Please avoid using this as a result
v0.11.0
There are no backwards-incompatible changes in this release. The minor version upgrade is to account for any inadvertent incompatibilities introduced by the jsonnet library upgrade.
- Fix a bug with namespace forced on the command line not being used in every place that it should have, especially when setting the
qbec.io/defaultNs
external variable. - Upgrade jsonnet to v0.15.0
v0.10.5
- change alogirthm of merging environment properties with base properties to not use a merge patch. This means that
null
s in property values will be retained.
v0.10.4
- no code changes in this release. This version will be the first to be published as a brew tap thanks to
@harsimranmaan and @aaqel-s
v0.10.3
- when returning environment properties introduced in the previous release, first
apply a JSON merge-patch on to base properties before returning it.
v0.10.2
- Provide the ability to load environment definitions from external files in addition to defining them inline.
- Add the ability to associate a properties object with every environment and also define baseline properties.
These are exposed as theqbec.io/envProperties
external variable.
The test app under examples
demonstrates both of these features.
- Internal build improvements: add code coverage (thanks @harsimranmaan)