kubewarden / policy-sdk-rust

Kubewarden Policy SDK for the Rust programming language
https://kubewarden.io
Apache License 2.0
8 stars 6 forks source link

docs.rs cannot build SDK documentation #88

Closed jvanz closed 1 year ago

jvanz commented 1 year ago

Is there an existing issue for this?

Current Behavior

Currently docs.rs is not able to build two versions of the SDK documentation.

Screenshot from 2023-04-04 13-53-57

Taking a quick look in the build output, it seems that the build process is missing the K8S_OPENAPI_ENABLED_VERSION variable definition when calling the cargo commands.

Expected Behavior

Properly build SDK docs

Steps To Reproduce

No response

Environment

- OS:
- Architecture:

Anything else?

No response