- Needed to add custom conversion functions to handle conversions from
public facing types to internal ones.
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
- This commit changes the internal config to have fewer number of
optional parameters. It changes the types to match the ones that are
already present in https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/conversion.go
so that custom converters do not have to be written for types "int"
and "float32".
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
This removes all .bazel and .bzl files, and a bunch of scripts relating
to bazel, now that it's been entirely replaced.
There are still a few places where traces could be removed, but this
removes the brunt of the bazel stuff that remains.
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
* Generate CRDs for the sample API types
* Allow alternative CRDs to be loaded into the envtest API server
* Override the conversion configuration of the CRDs
* Show webhook server logs in tests
* Simplify the loading of the test API CRDs
* Allow the ConversionHandler to be overridden in tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>