Releases: coryodaniel/bonny
v1.5.0
Added
Bonny.Pluggable.ApplyStatus: Addedsafe_modeoption to gracefully handleNotFounderrors when a resource is deleted during reconciliation. Instead of crashing, a warning is logged and reconciliation continues. Defaults tofalsefor backwards compatibility. Can be configured globally viaconfig :bonny, apply_status_safe_mode: true. Recommended to enable in production - #335Bonny.Axn.safe_apply_status/2: New function that applies resource status while gracefully handlingNotFounderrors - #335
Changed
- Cluster-scoped resources (resources without a namespace) will automatically have owner references omitted #321
Fixed
- Use SHA hashing algorithm tolerated when running in FIPS mode - #276, #275
- removed duplicated code logic for adding the namespace to the event_manifest in the EventRecorder #321
Chores
- Bump k8s from 2.4.2 to 2.5.0 by @dependabot[bot] in #245
- Bump ex_doc from 0.30.9 to 0.31.0 by @dependabot[bot] in #246
- Bump credo from 1.7.1 to 1.7.2 by @dependabot[bot] in #247
- Bump ymlr from 5.0.0 to 5.1.0 by @dependabot[bot] in #248
- Bump dialyxir from 1.4.2 to 1.4.3 by @dependabot[bot] in #249
- Bump credo from 1.7.2 to 1.7.3 by @dependabot[bot] in #250
- Bump ex_doc from 0.31.0 to 0.31.1 by @dependabot[bot] in #253
- Bump actions/cache from 3 to 4 by @dependabot[bot] in #254
- Bump mix_test_watch from 1.1.1 to 1.1.2 by @dependabot[bot] in #255
- Bump ymlr from 5.1.0 to 5.1.2 by @dependabot[bot] in #256
- Bump credo from 1.7.3 to 1.7.4 by @dependabot[bot] in #257
- Bump credo from 1.7.4 to 1.7.5 by @dependabot[bot] in #258
- Bump ex_doc from 0.31.1 to 0.31.2 by @dependabot[bot] in #260
- Bump mix_test_watch from 1.1.2 to 1.2.0 by @dependabot[bot] in #261
- Bump ymlr from 5.1.2 to 5.1.3 by @dependabot[bot] in #262
- Bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot[bot] in #263
- Bump pluggable from 1.0.1 to 1.1.0 by @dependabot[bot] in #264
- Bump k8s from 2.5.0 to 2.6.0 by @dependabot[bot] in #266
- Bump excoveralls from 0.18.0 to 0.18.1 by @dependabot[bot] in #265
- Bump actions/checkout from 4.1.2 to 4.1.3 by @dependabot[bot] in #268
- Bump ex_doc from 0.31.2 to 0.32.1 by @dependabot[bot] in #267
- Bump actions/checkout from 4.1.3 to 4.1.4 by @dependabot[bot] in #269
- Bump ex_doc from 0.32.1 to 0.32.2 by @dependabot[bot] in #271
- Bump credo from 1.7.5 to 1.7.6 by @dependabot[bot] in #272
- Bump owl from 0.8.0 to 0.9.0 by @dependabot[bot] in #259
- Bump actions/checkout from 4.1.4 to 4.1.5 by @dependabot[bot] in #270
- Bump actions/checkout from 4.1.5 to 4.1.6 by @dependabot[bot] in #273
- Bump ex_doc from 0.32.2 to 0.33.0 by @dependabot[bot] in #274
- fips compatable hash by @spunkedy in #276
- Bump ex_doc from 0.34.0 to 0.34.1 by @dependabot[bot] in #279
- Bump jason from 1.4.1 to 1.4.3 by @dependabot[bot] in #280
- Bump ex_doc from 0.34.1 to 0.34.2 by @dependabot[bot] in #281
- Bump owl from 0.9.0 to 0.10.0 by @dependabot[bot] in #282
- Bump owl from 0.10.0 to 0.11.0 by @dependabot[bot] in #285
- Bump excoveralls from 0.18.1 to 0.18.2 by @dependabot[bot] in #284
- Bump telemetry from 1.2.1 to 1.3.0 by @dependabot[bot] in #286
- Bump excoveralls from 0.18.2 to 0.18.3 by @dependabot[bot] in #287
- Bump credo from 1.7.7 to 1.7.9 by @dependabot[bot] in #296
- Bump owl from 0.11.0 to 0.12.1 by @dependabot[bot] in #304
- Bump k8s from 2.6.1 to 2.6.2 by @dependabot[bot] in #303
- Bump ex_doc from 0.34.2 to 0.37.0 by @dependabot[bot] in #307
- Bump ex_doc from 0.37.0 to 0.37.3 by @dependabot[bot] in #310
- use reusable workflow by @mruoss in #313
- Bump credo from 1.7.9 to 1.7.12 by @dependabot[bot] in #311
- Bump owl from 0.12.1 to 0.12.2 by @dependabot[bot] in #306
- Bump actions/checkout from 4.1.6 to 4.2.2 by @dependabot[bot] in #294
- Bump dialyxir from 1.4.3 to 1.4.5 by @dependabot[bot] in #299
- Bump mix_test_watch from 1.2.0 to 1.3.0 by @dependabot[bot] in #317
- Bump k8s from 2.6.2 to 2.7.0 by @dependabot[bot] in #318
- upgrade workflow by @mruoss in #322
- from makefile to mise by @mruoss in #323
- Bump ex_doc from 0.37.3 to 0.38.3 by @dependabot[bot] in #325
- Bump dialyxir from 1.4.5 to 1.4.6 by @dependabot[bot] in #320
- Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #324
- Bump owl from 0.12.2 to 0.13.0 by @dependabot[bot] in #326
- Bump k8s from 2.7.0 to 2.8.0 by @dependabot[bot] in #329
- Bump mruoss/action_elixir_run_tests/.github/workflows/elixir-run-tests.yml from 1.3.0 to 2.0.0 by @dependabot[bot] in #334
- Bump ymlr from 5.1.3 to 5.1.4 by @dependabot[bot] in #319
- Bump ex_doc from 0.38.3 to 0.39.1 by @dependabot[bot] in #331
- Bump credo from 1.7.12 to 1.7.13 by @dependabot[bot] in #330
- Bump excoveralls from 0.18.3 to 0.18.5 by @dependabot[bot] in #305
- Bump mix_test_watch from 1.3.0 to 1.4.0 by @dependabot[bot] in #332
- Bump actions/checkout from 5.0.0 to 6.0.2 by @dependabot[bot] in #337
- Bump mruoss/action_elixir_run_tests/.github/workflows/elixir-run-tests.yml from 2.2.0 to 2.2.1 by @dependabot[bot] in #336
- Bump nick-fields/retry from 2 to 3 by @dependabot[bot] in #339
- Bump actions/cache from 4 to 5 by @dependabot[bot] in #338
New Contributors
- @spunkedy made their first contribution in #276
- @snackycracky made their first contribution in #321
Full Changelog: v1.4.0...v1.5.0
v1.4.0
Added
- Added telemetry events to the Operator module - #244
## Chores
- Bump owl from 0.7.0 to 0.8.0 by @dependabot in #237
- Bump credo from 1.7.0 to 1.7.1 by @dependabot in #236
- Bump excoveralls from 0.17.1 to 0.18.0 by @dependabot in #238
- Bump ex_doc from 0.30.6 to 0.30.7 by @dependabot in #239
- Bump k8s from 2.4.1 to 2.4.2 by @dependabot in #242
- Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #243
- Bump dialyxir from 1.4.1 to 1.4.2 by @dependabot in #240
- Bump ex_doc from 0.30.7 to 0.30.9 by @dependabot in #241
- Bump ymlr from 4.2.0 to 5.0.0
New Contributors
- @rafaelgaspar made their first contribution in #244
Full Changelog: v1.3.0...v1.4.0
v1.3.0
Changed
Bonny.Axn.register_descendant/3- Add optiongroupto define in what group to apply a descendant and apply descendants in groups.
Chores
- Bump jason from 1.4.0 to 1.4.1 by @dependabot in #219
- Bump ex_doc from 0.29.4 to 0.30.3 by @dependabot in #220
- Bump k8s from 2.3.0 to 2.4.0 by @dependabot in #217
- Bump ex_doc from 0.30.3 to 0.30.4 by @dependabot in #221
- Bump excoveralls from 0.16.1 to 0.17.0 by @dependabot in #223
- Bump ex_doc from 0.30.4 to 0.30.5 by @dependabot in #222
- Bump ymlr from 4.1.0 to 4.2.0 by @dependabot in #224
- Bump k8s from 2.4.0 to 2.4.1 by @dependabot in #225
- Bump mix_test_watch from 1.1.0 to 1.1.1 by @dependabot in #230
- Bump actions/checkout from 3.5.3 to 4.0.0 by @dependabot in #233
- Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #235
- Bump ex_doc from 0.30.5 to 0.30.6 by @dependabot in #229
- Bump dialyxir from 1.3.0 to 1.4.1 by @dependabot in #231
- Bump excoveralls from 0.17.0 to 0.17.1 by @dependabot in #228
Full Changelog: v1.2.1...v1.3.0
v1.2.1
v1.2.0
Changed
- Start leader election by default - #195
Fixed
mix bonny.gen.manifest- Merge RBAC rules for the same resources - #213- Compile time dependency at runtime - #212 by @akasprzok
Chores
- Bump dialyxir from 1.2.0 to 1.3.0 by @dependabot in #208
- Bump ymlr from 3.0.1 to 4.0.0 by @dependabot in #209
- Bump actions/checkout from 1.0.0 to 3.5.2 by @dependabot in #210
- Bump k8s from 2.2.0 to 2.3.0 by @dependabot in #211
- Run tests on OTP26 by @mruoss in #214
- Bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #215
New Contributors
- @akasprzok made their first contribution in #212
Full Changelog: v1.1.3...v1.2.0
v1.1.3
What's Changed
Chores
- Bump ex_doc from 0.29.2 to 0.29.3 by @dependabot in #200
- Bump owl from 0.6.1 to 0.7.0 by @dependabot in #202
- Bump ex_doc from 0.29.3 to 0.29.4 by @dependabot in #204
- Bump k8s from 2.1.1 to 2.2.0 by @dependabot in #206
- Bump credo from 1.6.7 to 1.7.0 by @dependabot in #201
- Bump excoveralls from 0.16.0 to 0.16.1 by @dependabot in #205
Thanks
Full Changelog: v1.1.2...v1.1.3
v1.1.2
Added
- Simple leader election for running multiple replicas (BETA) - #195
Fixes
- Fix for an issue reported in #180 already: Add operator name as env variable to deployment.
Chores
- Adds simple leader election implementation by @mruoss in #195
- Bump ex_doc from 0.29.1 to 0.29.2 by @dependabot in #196
- Bump excoveralls from 0.15.3 to 0.16.0 by @dependabot in #198
- Bump k8s from 2.1.0 to 2.1.1 by @dependabot in #197
Full Changelog: v1.1.1...v1.1.2
v1.1.1
v1.1.0
This release updates its dependency on k8s to a new major version (2.x). If you're using k8s directly in your code, you should have added it explicitely to your dependencies in mix.exs and this update will fail until you update that dependency manually. If you're using k8s directly in your code but you haven't added it explicetly to your list of dependencies, you might get surprises as 2.x comes with (yet few) breaking changes.
The most likely problem to occur is a Handshake Failure when working with local clusters. Its easily fixed, please follow the instructions on the k8s migration guide.
Fixed
- Prevent duplicate descendants
Changed
- Upgraded k8s dependency to 2.x. #173
Added
Bonny.Pluggable.AddMissingGVK- A pluggable step for adding missing GVK information to resources - #184, #183- Helpers to define conditions on custom resources. #188
Bonny.API.Version.add_conditions/1- Helper to define a schema for conditions on the CRDBonny.Axn.set_condition/4- Helper to set a condition on a resource
Bonny.Pluggable.Finalizer- A pluggable step to define and implement finalizers, #6, #189Bonny.Axn.register_after_processed/2- Registers a callback to be invoked at the very end of an action event's processing by the operator
Chores
- Bump owl from 0.6.0 to 0.6.1 by @dependabot in #185
- switch from k3d to kind for integration tests by @mruoss in #187
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Fixes Typo in Application Template by @kbredemeier in #181
- Don't add operator to supervision tree in
:testenv per default
Chores
- Bump excoveralls from 0.15.0 to 0.15.1 by @dependabot in #171
- Bump k8s from 1.1.10 to 1.2.0 by @dependabot in #172
- Bump owl from 0.5.1 to 0.6.0 by @dependabot in #174
- Bump telemetry from 1.1.0 to 1.2.0 by @dependabot in #175
- Bump excoveralls from 0.15.1 to 0.15.2 by @dependabot in #176
- Bump telemetry from 1.2.0 to 1.2.1 by @dependabot in #177
- Bump excoveralls from 0.15.2 to 0.15.3 by @dependabot in #178
New Contributors
- @kbredemeier made their first contribution in #181
Full Changelog: v1.0.0...v1.0.1