@@ -102,16 +102,16 @@ deficiencies:
102
102
being accidentally being clamed as owned.
103
103
104
104
Both sig-api-machinery and wg-api-expression agree that this enhancement is
105
- required before server side apply to be promoted to GA.
105
+ required for server side apply to be promoted to GA.
106
106
107
107
### Goals
108
108
109
109
Introduce a typesafe, programmatic way to call server side apply using the typed
110
110
client in client-go.
111
111
112
112
Express all apply configurations in Go that can be expressed in
113
- YAML. Specifically, an apply request must include only field that are set by
114
- applier and exclude those not set by applier.
113
+ YAML. Specifically, an apply request must include only fields that are set by
114
+ the applier and exclude those not set by the applier.
115
115
116
116
Validate this enhancement meets the needs of developers:
117
117
@@ -141,14 +141,14 @@ representation, which will need to be generated for this purpose.
141
141
142
142
#### Poor adoption
143
143
144
- Risk: Developers adoption is poor, either because the asthetics /ergonomics are
144
+ Risk: Developers adoption is poor, either because the aesthetics /ergonomics are
145
145
not to their liking or the functinality is insufficient to do what they need to
146
146
do with it. This could lead to (a) poor server side apply adoption, and/or (b)
147
147
developers building alternate solutions.
148
148
149
149
Mitigation: We are working with the kubebuilder community to
150
150
get hands on feedback from developers to guide our design decisions around
151
- asthetics/egronomics with a goal of having both client-go and kubebuilder
151
+ aesthetics/ergonomics with a goal of having both client-go and kubebuilder
152
152
take an aligned approach to adding apply to clients in a typesafe way.
153
153
154
154
## Design Details
@@ -178,7 +178,7 @@ Apply will combine the `fieldManager` argument with `ApplyOptions` to create the
178
178
`PatchOptions`.
179
179
180
180
Each apply call will be required to provide a fieldmanager name. We will not
181
- provide a a way for the fieldmanager name to be set for the entire
181
+ provide a way for the fieldmanager name to be set for the entire
182
182
clientset. There are a couple reasons for this:
183
183
184
184
- If a client has multiple code paths where it makes apply requests to the same
@@ -208,7 +208,7 @@ the two below alternatives. We are working with the Kubebuilder community to
208
208
gather feedback on what developers prefer.
209
209
<<[/UNRESOLVED]>>
210
210
211
- #### Alternative 1: Genreated structs where all fields are pointers
211
+ #### Alternative 1: Generated structs where all fields are pointers
212
212
213
213
Example usage:
214
214
@@ -269,7 +269,7 @@ for a working implementation of alternative 2.
269
269
270
270
Of the two leading alternatives--"builders" and "structs with pointers"--we implemented
271
271
prototypes of both. They had roughly equivalent performance, and no differences
272
- in their capabilities. The choice between the two is primarily one of asthetics /ergonomics.
272
+ in their capabilities. The choice between the two is primarily one of aesthetics /ergonomics.
273
273
274
274
Some of the feedback we have heard from the community:
275
275
@@ -351,7 +351,7 @@ together in test/integration/client/client_test.go.
351
351
352
352
### e2e testing
353
353
354
- We will migrate the cluste rrole aggregation controller to use apply and verify
354
+ We will migrate the cluster role aggregation controller to use apply and verify
355
355
it is correct using the existing e2e tests, expanding coverage as needed.
356
356
357
357
### Graduation Criteria
0 commit comments