Releases: splunk/qbec
Releases · splunk/qbec
v0.13.2
- Allow force options to be set via environment variables (thanks @splkforrest)
v0.13.1
- Fix a bug where the
alpha fmtcommand would stop processing arguments after encountering a directory.
v0.13.0
- Misc. CI build changes
- Update jsonnet library to
v0.17.0and k8s client libs tov1.17.13 - Add json formatter to the
qbec alpha fmtcommand - Fix diff commands to show skipped updates and deletes based on qbec directives specified for existing objects.
This will no longer show spurious diffs for deletes and updates if those have been turned off. - Use per-namespace queries by default when multiple namespaces are present, allow using cluster-scoped queries
using an opt-in flag. - The
--env-fileoption now allows http(s) URLs in addition to local files. In addition, theenvFilesattribute
inqbec.yamlcan also contain http(s) URLs. - String data in secrets is now obfuscated in addition to binary data
Incompatibilities
This release is incompatible from previous minor versions in the following ways:
qbec applywill now wait on all objects by default. That is, the--wait-allnow defaults totrue.
To get the previous behavior, you need to add--wait-all=falseto theapplycommand.qbec diffnow exits 0 by default even when diffs are found. To restore previous behavior, add--error-exit
to the command.- qbec now defaults to per-namespace queries when multiple namespaces are present. To get the previous behavior
of using cluster-scoped queries addclusterScopedLists: trueunderspecinqbec.yaml - The command line syntax of the
qbec alpha fmtcommand has changed in incompatible ways. Instead of options like
--jsonnet,--yamletc. you need to specify options as--type=jsonnet,--type=yamland so on. - YAML formatter now follows
prettierconventions requiring arrays to be indented under the parent key. - Any corner-case behavior from updating k8s client and jsonnet libraries.
v0.12.5
- Add a new
wait-policydirective to disable waits on specific deployments
and daemonsets. The annotation"directives.qbec.io/wait-policy": "never"
will cause qbec to not wait on the deployment even if it has changed.
v0.12.4
- Add
--wait-allflag to theapplycommand to wait on all objects instead of just the ones that were changed in the
current run.
v0.12.3
- Add ability to import a bag of files using a glob pattern (see #153 for details). At this point this should be
considered experimental. Do not rely on it yet until the next release when we will have docs for it. - Add windows build in CI, thanks to @harsimranmaan
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-exitoption to thediffcommand to be able to exit 0 even when diffs are present. This currently has atruedefault 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 fmtcommand 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 --helpfor details.
v0.11.2
- Fix regression in previous release where
LD_FLAGSwere not set correctly causing qbec to report a wrong version.
Please avoid using v0.11.1 as a result.