Comments (2)
Here is the diff that I made by manually updating the generated conversion files:
diff --git a/constraint/pkg/apis/templates/v1alpha1/zz_generated.conversion.go b/constraint/pkg/apis/templates/v1alpha1/zz_generated.conversion.go
index 7a2a718..b24233e 100644
--- a/constraint/pkg/apis/templates/v1alpha1/zz_generated.conversion.go
+++ b/constraint/pkg/apis/templates/v1alpha1/zz_generated.conversion.go
@@ -434,9 +434,8 @@ func autoConvert_v1alpha1_Validation_To_templates_Validation(in *Validation, out
if in.OpenAPIV3Schema != nil {
in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
*out = new(apiextensions.JSONSchemaProps)
- // FIXME: Provide conversion function to convert v1beta1.JSONSchemaProps to apiextensions.JSONSchemaProps
- compileErrorOnMissingConversion()
+ if err := v1beta1.Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(*in, *out, s); err != nil {
+ return err
+ }
} else {
out.OpenAPIV3Schema = nil
}
diff --git a/constraint/pkg/apis/templates/v1beta1/zz_generated.conversion.go b/constraint/pkg/apis/templates/v1beta1/zz_generated.conversion.go
index 72aaeb5..1df4c21 100644
--- a/constraint/pkg/apis/templates/v1beta1/zz_generated.conversion.go
+++ b/constraint/pkg/apis/templates/v1beta1/zz_generated.conversion.go
@@ -434,9 +434,8 @@ func autoConvert_v1beta1_Validation_To_templates_Validation(in *Validation, out
if in.OpenAPIV3Schema != nil {
in, out := &in.OpenAPIV3Schema, &out.OpenAPIV3Schema
*out = new(apiextensions.JSONSchemaProps)
- // FIXME: Provide conversion function to convert apiextensionsv1beta1.JSONSchemaProps to apiextensions.JSONSchemaProps
- compileErrorOnMissingConversion()
+ if err := apiextensionsv1beta1.Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(*in, *out, s); err != nil {
+ return err
+ }
} else {
out.OpenAPIV3Schema = nil
}
from frameworks.
kubernetes/kubernetes#101567 has been unassigned; it looks like progress isn't currently being made for it.
from frameworks.
Related Issues (20)
- [bug] `external_data` http request doesn't set `Content-Type` header
- [client.Client] Create optional caching interface for Targets
- Ensure Driver properly handles multi-target deletes
- add dependabot HOT 1
- upgrade opa to 0.38.0 HOT 1
- No Need to Cache Constraint Status HOT 2
- Cannot upgrade opentelemetry until k8s.io/component-base upgrades HOT 1
- Multi-target ConstraintTemplate HOT 3
- Upgrade OPA to v0.40.0 HOT 4
- No longer know which resource is causing a violation HOT 1
- block template deployment if GK version is not compatible
- Result.Target is not populated
- update kubebuilder version to v3 HOT 1
- ci: make GH lint and make lint consistent HOT 1
- Consider tagging submodule "constraint"?
- Remove the notion of "Enforcement Action" from the engine interface HOT 2
- Use `fake` Driver in e2e tests
- Driver interface `AddConstraint` improvement
- Use OpenAPI default param values
- improving match criteria debuggability HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frameworks.