-
Notifications
You must be signed in to change notification settings - Fork 159
Conversation
1bb60ce
to
698549f
Compare
@@ -81,7 +81,7 @@ func TestConvertTable(t *testing.T) { | |||
{ | |||
name: "not a stack", | |||
object: &metav1beta1.Table{}, | |||
expectedError: "unexpected object type *v1beta1.Table", | |||
expectedError: "unexpected object type *v1.Table", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to reviewer that this change was needed
@@ -55,7 +55,7 @@ func setConfigDefaults(config *rest.Config) error { | |||
gv := v1alpha3.SchemeGroupVersion | |||
config.GroupVersion = &gv | |||
config.APIPath = "/apis" | |||
config.NegotiatedSerializer = serializer.DirectCodecFactory{CodecFactory: scheme.Codecs} | |||
config.NegotiatedSerializer = serializer.WithoutConversionCodecFactory{CodecFactory: scheme.Codecs} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to reviewer: This change was based on this: kubernetes/kubernetes#76270
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b66d6c2
to
1c80fc7
Compare
We need the delete with forward policy to pass. It is a non-regression test related to a bug found in the UCP UI. |
f5706d1
to
f487653
Compare
Codecov Report
@@ Coverage Diff @@
## master #149 +/- ##
==========================================
+ Coverage 64.79% 65.02% +0.22%
==========================================
Files 90 90
Lines 10940 10958 +18
==========================================
+ Hits 7089 7125 +36
+ Misses 3550 3537 -13
+ Partials 301 296 -5
Continue to review full report at Codecov.
|
Primary action was bumping the Kubernetes vendoring, other operations were to make it work. * Kubernetes to 1.16.2 * Removed `bitbucket.org/ww/goautoneg` as it is now included in Prometheus * Changed `serializer.DirectCodecFactory` to `serializer.WithoutConversionCodecFactory` in `api/client/clientset/typed/compose/*/compose_client.go` * Moved grpc to v1.23.1 * Ran `dep ensure -update sigs.k8s.io/structured-merge-diff` * Ran `dep ensure -update k8s.io/utils` Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This fixes docker#150. As the `Stack` struct does not support being serialized to protobuf, we must not advertise that we support protobuf. Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
68b8c8e
to
eea9814
Compare
Additional information:
Gopkg.toml
serializer.DirectCodecFactory
toserializer.WithoutConversionCodecFactory
inapi/client/clientset/typed/compose/*/compose_client.go
internal/registry/tableconvert_test.go
bitbucket.org/ww/goautoneg
as it is now included in Prometheusdep ensure -update sigs.k8s.io/structured-merge-diff
dep ensure -update k8s.io/utils
Fixes #150 by not advertising protobuf support.