Skip to content

Releases: kubernetes-sigs/cli-utils

v0.27.0

11 Jan 23:11
0c9b214
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • wait tasks always execute after apply/prune/delete (except dry runs)
  • wait tasks default to waiting until cancelled (previously 1m default)
  • WaitEvents sent for each object

Changelog

  • a95e9f4 Add e2e tests for reconciliation failure and timeout
  • 31679a6 Add global destroyer timeout
  • 7b53399 Add missing returns
  • 066fd77 Add timeout flag to apply, destroy, & status cmds
  • bc9e8c1 Allow status readers to be reused between invocations
  • 461fae8 Avoid printing out all the events
  • 703535f Avoid waiting for stalled resources
  • 87877d2 Change the behavior of hanlding a WaitTask timeout
  • 7e47e6b Check exact version when determining scope
  • 9f6552d Check versions a CRD defines
  • a5030ff Clean up prune package
  • 200d6ec Consistently use InfoHelper to get rest client
  • df4fca5 Don't print status for all events for reach WaitEvent
  • 7333873 Drop k8s.io/apiextensions-apiserver dependency
  • 944b7a7 Exports Applier StatusPoller field
  • ab7b47b Fix missing action value in table output
  • 7c27474 Handle deletion prevention correctly
  • 7fde7fb Ignore receiver name lint error
  • bab47d9 More flexible resource type to StatusReader mapping
  • 0419797 Moves printers from cmd to pkg
  • 38f7478 No need to lowercase namespaces
  • f33a0cd Remove StatusPoller factory and support custom status readers
  • ace8272 Remove unused ResetRESTMapperTask task
  • 602301e Remove unused TimeoutError code
  • 1034bbe Removed unused command PreProcess function
  • 0ac281c Removes inventory from manifestloader
  • ee6c5a7 Return error & send error event on cancel/timeout
  • cb9c7fc Run make all
  • 6c2de94 Support ReconcileFailed status in printers
  • 73dca2b Update to latest version of kyaml and k8s libs
  • 9caaf2a Validate the value of the output flag
  • 9607cb5 feat: Add apply/destroy --status-events flag
  • c5636c0 feat: Always wait for reconciliation
  • 66c6363 feat: Return a specific error type from the printers when resources fail to apply/delete/reconcile
  • a24aaea feat: send WaitEvent for every resource
  • 5f80d35 fix: Add context & timeouts to e2e tests
  • a0743e6 fix: Clean up object.FieldPath
  • de8f67c fix: Colorize example tests
  • 242b6aa fix: Don't panic when ObjMetadata is invalid
  • 99f9626 fix: Ensure WaitTask gets StatusUpdate
  • fb98bc7 fix: Handle more validation errors as field errors
  • ab5a4dc fix: Improve task & event logging
  • c5452a8 fix: Make UnknownTypesError error more readable
  • 2ca6f19 fix: Make testutil.AssertEqual more like testify
  • 1b68c32 fix: Remove preview/dry-run type from events output
  • 9426fcb fix: disable dupl linter on some e2e tests
  • b977b59 fix: race condition in BuildInfo
  • 22ec2ac fix: race condition in PruneTask
  • eda3554 fix: skipped deletes no longer cause waiting
  • 8c05973 json printer should only print summary after last action group per type

v0.26.1

03 Nov 22:53
8e25286
Compare
Choose a tag to compare
v0.26.1 Pre-release
Pre-release

Changelog

8e25286 Cherry-pick two commits (#461)

v0.26.0

12 Oct 22:37
8b12ecd
Compare
Choose a tag to compare

Changelog

8b1ad50 Add ExpErrorEvent for better e2e test failures
853f4b0 Add GroupName to Apply, Prune, and Delete events
d83ce93 Add ObjMetadataSet to encapsulate set functions
604c9de Add UnstructuredSet to encapsulate set functions
cb132d9 Add a new flag value force-adopt to the --inventory-policy flag
02c0fb7 Add apply-time-mutation feature
1257406 Add comments to e2e test
6992b74 Add more robust event list testing in e2e tests
5b7b824 Add option for custom status readers
3e808de Adds EventFactory to abstract prune/delete event generation
d96d2a0 Adds Reason to ValidationFilter and skipped events
bf6bc5f Adds object dependency sorting and tests
714a3b2 Applier unit test cleanup
dacbf97 Avoid dryRun as state in inventory client
d727d4b Avoid referencing cmd line flags in error strings
136d1ef Better validation of resources prior to actuation
4f4bd30 Change YamlStringer to only accept Unstructured
d2f83f4 Changes Print interface to add PrintStatus boolean
80c7ef7 Don't cache nil mapper
a33618c Don't embed mutex
275f2c2 Drop github.com/go-errors/errors dependency
d573422 Drop github.com/pkg/errors dependency
6a39e5a Drop gotest.tools dependency
4ff5118 Expose ManifestReader helper functions to users
769f5bd Expose cyclic dependency error
23cb9a5 Fix a stale description in kstatus's README
bd0dd87 Fix addlicense path and enable verbose mode
1b9059b Fix apply and destroy e2e test to share inventory
12cc429 Fix flaky applier test
50fb925 Fix flaky continue on error test
bbd7cf1 Fixes prune timeout value
12425d7 Ignore prune object retrieval error
c55d009 Implements depends-on object sorting
9fc0cd1 Improve clarity of filter and mutator reasons
ae80e56 Improve the event hierarchy
9da829e Include the resource ids in the timeout error msg
8e30862 Inventory not found is not error during delete
afa0ba9 Log statement at start of tasks
d964b03 Merge Collector and ResourceCache
d358499 More reusable BaseListPrinter
aa79285 Move inventory annotation addition
42e330d Move inventory operations into tasks
2f13357 Moves apply failure inventory calculation into inventory task
45cb7e3 Moves inventory policy check for apply into filter
7b512ed No wait checking for resource failures or filters
fcd4cff Object graph functionality
7ee6ca6 Optimize allocations a bit
79a5cc6 Optimize sort
82165ae Order by group kind
669fb3f Pass the RESTMapper explicitly into infoHelper
357575c Printers for status returns error
3b301af Provide the DryRunStrategy through the destroyer options
b77cc7e Prune refactor to take objects to prune
91df668 Prune/Delete should use the specified propagation policy
5b31557 Re-organizes pkg/object, adds annotation helpers
a0d1024 Reduce allocations in set operations
3255372 Refactor depends-on code
af417c6 Refactor destroyer to use tasks
4432f51 Refactor prune/delete using ValidationFilter interface
8dc334f Remove Applier.Initialize()
4eb7dc1 Remove Initialize() on Destroyer and PruneOptions
c1c7c9e Remove Provider interface
4b8dd62 Remove strings.TrimSpace()
15ef662 Rename Marshal/Unmarshal to Format/Parse
56c110b Reuse testutil.VerifyEvents
3514065 Simplify: remove unneeded meta.Accessor() usage
97b02cd Skip InventoryPolicyApplyFilter for the AdoptAll inventory policy to improve the performance
f0e71ba Skip pruning an object whose Group/Kind is not found
a468a88 Unmarshal with k8s.io/apimachinery/pkg/util/yaml
30c52a8 Update addlicense to v1.0.0 and year 2021
d41f250 Update dependencies to Kubernetes v1.21.1
854d4fc Update owners file to only include active contributors
0777e62 Updates e2e tests
c3a312d Use a specific error type when encountering unknown types
36cb2ce Use rand from apimachinery to avoid seeding rng every time
a296437 Use runCollect in e2e tests more consistently
c2ea35c add code comments for the new types and fields
383c004 destroyer calculates emit status events
3d81e21 e2e test cleanup
0cdf632 remove crd-specific code in apply tasks
a3f3792 rename function
fadf997 update applier unit tests

v0.25.0

07 Apr 23:28
e351b2b
Compare
Choose a tag to compare

Changelog

7be21cf Add validation of inventory-id for name strategy if inventory object already exists
6c0f726 Decouple manifest reader from cli
ac40271 Make sure inventories are consistenly looked up based on either name or label
9efd208 Update kyaml version

v0.24.0

22 Mar 19:11
6e08985
Compare
Choose a tag to compare

Changelog

4b71653 Don't emit Prune event for NoMatchError
d949d68 Simplest k8s dep upgrade.

v0.23.6

08 Mar 01:59
2a5d751
Compare
Choose a tag to compare

Changelog

af4d866 Pin to kyaml v0.10.14 and use go 1.16

v0.23.5

28 Feb 19:39
091239a
Compare
Choose a tag to compare

Changelog

a905f4e Pin cli-utils to kyaml v0.10.13

v0.23.4

27 Feb 02:15
b33205c
Compare
Choose a tag to compare

Changelog

a5f0741 Fix missing error property in PruneEventTransformer
48cd555 Fix printing with continue-on-error
56d4505 Pin cli-utils to kyaml v0.10.12

v0.23.3

17 Feb 21:19
2e29183
Compare
Choose a tag to compare

Changelog

ec07a4f Handle APIService speically when ServerSide apply is enabled
b1f9a18 Improve the Applier tests

v0.23.2

09 Feb 17:53
47ca1c8
Compare
Choose a tag to compare

Changelog

76f7656 Pin cli-utils to kyaml v0.10.9