-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove deprecated direct resource support (cherry-pick #1479) #1486
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix: remove deprecated direct resource support Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * rm dead code Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * clean Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
eddycharly
approved these changes
May 29, 2024
renovate bot
referenced
this pull request
in anza-labs/lke-operator
Jun 6, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/kyverno/chainsaw](https://github.com/kyverno/chainsaw) | `v0.2.3` -> `v0.2.4` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fkyverno%2fchainsaw/v0.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fkyverno%2fchainsaw/v0.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fkyverno%2fchainsaw/v0.2.3/v0.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fkyverno%2fchainsaw/v0.2.3/v0.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kyverno/chainsaw (github.com/kyverno/chainsaw)</summary> ### [`v0.2.4`](https://github.com/kyverno/chainsaw/releases/tag/v0.2.4) [Compare Source](https://github.com/kyverno/chainsaw/compare/v0.2.3...v0.2.4) ####‼️ Breaking changes‼️ - Directly specifying resource name was dropped, only `apiVersion` / `kind` is supported now #### 💫 New features 💫 - Added test metadata built-in binding - Added file support to `delete` operation - Added `--remarshal` flag to improve anchors support in test resources - Added support for `describe`, `events`, `get` and `podLogs` operations in try blocks #### 🔧 Fixes 🔧 - Fixed incorrect path reported when validation failed for a patch operation - Improved the way default values for configuration options are managed in configuration v1alpha2 #### 📚 Docs 📚 - Removed code markers on titles in API reference documentation #### 🎸 Misc 🎸 - Bumped kyverno-json to v0.0.3 #### What's Changed - docs: remove code markers on titles in api reference documentation (cherry-pick [#​1480](https://github.com/kyverno/chainsaw/issues/1480)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1481](https://github.com/kyverno/chainsaw/pull/1481) - refactor: introduce api clusters type (cherry-pick [#​1482](https://github.com/kyverno/chainsaw/issues/1482)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1483](https://github.com/kyverno/chainsaw/pull/1483) - feat: add test metadata binding (cherry-pick [#​1484](https://github.com/kyverno/chainsaw/issues/1484)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1485](https://github.com/kyverno/chainsaw/pull/1485) - fix: remove deprecated direct resource support (cherry-pick [#​1479](https://github.com/kyverno/chainsaw/issues/1479)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1486](https://github.com/kyverno/chainsaw/pull/1486) - fix: yaml anchors processing (cherry-pick [#​1487](https://github.com/kyverno/chainsaw/issues/1487)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1489](https://github.com/kyverno/chainsaw/pull/1489) - chore: bump kubectl-validate (cherry-pick [#​1490](https://github.com/kyverno/chainsaw/issues/1490)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1491](https://github.com/kyverno/chainsaw/pull/1491) - refactor: delete operation reference (cherry-pick [#​1494](https://github.com/kyverno/chainsaw/issues/1494)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1495](https://github.com/kyverno/chainsaw/pull/1495) - feat: add file support to delete operation (cherry-pick [#​1496](https://github.com/kyverno/chainsaw/issues/1496)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1497](https://github.com/kyverno/chainsaw/pull/1497) - chore: remove old config file (cherry-pick [#​1498](https://github.com/kyverno/chainsaw/issues/1498)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1499](https://github.com/kyverno/chainsaw/pull/1499) - chore: bump kyverno-json (cherry-pick [#​1501](https://github.com/kyverno/chainsaw/issues/1501)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1502](https://github.com/kyverno/chainsaw/pull/1502) - chore: bump a couple of deps (cherry-pick [#​1503](https://github.com/kyverno/chainsaw/issues/1503)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1504](https://github.com/kyverno/chainsaw/pull/1504) - chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.5 to 3.0.6 (cherry-pick [#​1506](https://github.com/kyverno/chainsaw/issues/1506)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1507](https://github.com/kyverno/chainsaw/pull/1507) - fix: templating options defaulting in v1alpha2 (cherry-pick [#​1508](https://github.com/kyverno/chainsaw/issues/1508)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1509](https://github.com/kyverno/chainsaw/pull/1509) - fix: patch validation incorrect field (cherry-pick [#​1511](https://github.com/kyverno/chainsaw/issues/1511)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1512](https://github.com/kyverno/chainsaw/pull/1512) - feat: add missing operations (cherry-pick [#​1510](https://github.com/kyverno/chainsaw/issues/1510)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1513](https://github.com/kyverno/chainsaw/pull/1513) - refactor: merge catch and finally structs (cherry-pick [#​1514](https://github.com/kyverno/chainsaw/issues/1514)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1515](https://github.com/kyverno/chainsaw/pull/1515) - feat: introduce test v1alpha2 (cherry-pick [#​1493](https://github.com/kyverno/chainsaw/issues/1493)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1516](https://github.com/kyverno/chainsaw/pull/1516) - chore(deps): bump sigs.k8s.io/controller-runtime from 0.18.3 to 0.18.4 (cherry-pick [#​1519](https://github.com/kyverno/chainsaw/issues/1519)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1520](https://github.com/kyverno/chainsaw/pull/1520) - chore: update release notes (cherry-pick [#​1521](https://github.com/kyverno/chainsaw/issues/1521)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1522](https://github.com/kyverno/chainsaw/pull/1522) - release: v0.2.4 (cherry-pick [#​1523](https://github.com/kyverno/chainsaw/issues/1523)) by [@​gcp-cherry-pick-bot](https://github.com/gcp-cherry-pick-bot) in [https://github.com/kyverno/chainsaw/pull/1524](https://github.com/kyverno/chainsaw/pull/1524) **Full Changelog**: kyverno/chainsaw@v0.2.3...v0.2.4 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/anza-labs/lke-operator). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcGVuZGVuY3kiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherry-picked fix: remove deprecated direct resource support (#1479)
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com
Signed-off-by: Charles-Edouard Brétéché charles.edouard@nirmata.com