Proposal for handling server-side-overrides in ACK.#856
Proposal for handling server-side-overrides in ACK.#856vijtrip2 wants to merge 1 commit intoaws-controllers-k8s:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vijtrip2 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
678ec3c to
3ff15a3
Compare
3ff15a3 to
41985da
Compare
RedbackThomson
left a comment
There was a problem hiding this comment.
Seems solid. Added some questions inline
| conditions: | ||
| - type: ACK.ServerSideOverride | ||
| status: True | ||
| reason: ServerSideSpecOverride |
There was a problem hiding this comment.
Could probably just be shortened to SpecOverride - ServerSide is implied
| - type: ACK.ServerSideOverride | ||
| status: True | ||
| reason: ServerSideSpecOverride | ||
| message: Spec override values are present in services.aws.k8s/spec-overrides annotation |
There was a problem hiding this comment.
Could this message include a list of overridden keys, saving users the hassle of looking up the annotations.
| services.k8s.aws/spec-overrides: | ||
| “{ | ||
| \“overrideFieldB\”: |
There was a problem hiding this comment.
nit: formatting for this document - maybe add Annotations: like you have for Spec: and Status:
| }” | ||
| Spec: | ||
| fieldA: valueA | ||
| overrideFieldB: updatedValueB-xyz |
There was a problem hiding this comment.
This should be updatedValueB, right? We don't patch over the user's Spec input?
|
|
||
| ## Solution | ||
|
|
||
| In this solution, If an existing value is updated as part of Create/Update API output, ACK service controller will persist |
There was a problem hiding this comment.
I know this may be obvious to some, but it may be useful to make explicit why the annotation/mapping is only written during Creates/Updates, and not during Reads
|
Issues go stale after 90d of inactivity. |
|
Stale issues rot after 30d of inactivity. |
|
/remove-lifecycle rotten |
|
Issues go stale after 90d of inactivity. |
|
Issues go stale after 90d of inactivity. |
Issue #855
Description of changes:
deltalogic, which they currently use to handle server-side overrides.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.