kubebuilder-declarative-pattern
kubebuilder-declarative-pattern copied to clipboard
add x-kubernetes-preserve-unknown-fields to patches in CRD
What this PR does / why we need it:
This PR add x-kubernetes-preserve-unknown-fields: true to patches key about CRD implementing Patchable interface.
This PR use markers in kubebuilder for that.
Declarative CR will preserve any structures on patches key by this update.
Which issue(s) this PR fixes: Fixes #236
Special notes for your reviewer: NONE
Additional documentation: NONE
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: atoato88
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [atoato88]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/assign @justinsb
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle stale - Mark this issue or PR as rotten with
/lifecycle rotten - Close this issue or PR with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle rotten - Close this issue or PR with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/close It's pretty old PR so I close this.
@atoato88: Closed this PR.
In response to this:
/close It's pretty old PR so I close this.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.