-
Notifications
You must be signed in to change notification settings - Fork 66
🌱 OPRUN-4138 Remove no-op patch strategy tags and markers #2225
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
🌱 OPRUN-4138 Remove no-op patch strategy tags and markers #2225
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2225 +/- ##
==========================================
- Coverage 72.17% 72.05% -0.12%
==========================================
Files 85 85
Lines 8407 8407
==========================================
- Hits 6068 6058 -10
- Misses 1939 1948 +9
- Partials 400 401 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/approve |
* `+patchStrategy` and `+patchMergeKey` markers are not supported by controller-gen, see https://github.com/kubernetes-sigs/controller-tools/tree/main/pkg/crd/markers * `patchStrategy` and `patchMergeKey` golang tags are of no use for CRDs. They have their use in k8s core types in order to produce proper strategic merge patches, see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md but are superseded by `+listType` and `+listMapKey` in CRD world. It removal, as expected, did not provide any effect on the generated resources.
3e910cc
to
0b37f75
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva, tmshort The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
9af2eff
into
operator-framework:main
Description
+patchStrategy
and+patchMergeKey
markers are not supported by controller-gen, seehttps://github.com/kubernetes-sigs/controller-tools/tree/main/pkg/crd/markers
patchStrategy
andpatchMergeKey
golang tags are of no use for CRDs. They have their usein k8s core types in order to produce proper strategic merge patches, see
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md
but are superseded by
+listType
and+listMapKey
in CRD world.Their removal, as expected, did not provide any effect on the generated resources.
Part of OPRUN-4138
Reviewer Checklist