Closed vCassius closed 8 months ago
Read the error.
Read the error. yeah i known,but i did not set any K8S_OPENAPI_ENABLED_VERSION env var and i used features = ["v1_26"] ,so i don't know why told me both v1_24 and v1_26 features are enabled on the k8s-openapi crate
Again, as the error says, either you have two features enabled in your Cargo.toml, or you have the K8S_OPENAPI_ENABLED_VERSION
env var set, or you have some dependencies that have enabled features. If you're sure that it's not the first or the second then look for the third.
The dependencies you've posted in OP do not have any problem. So look at the rest of your dependencies.
Again, as the error says, either you have two features enabled in your Cargo.toml, or you have the
K8S_OPENAPI_ENABLED_VERSION
env var set, or you have some dependencies that have enabled features. If you're sure that it's not the first or the second then look for the third.The dependencies you've posted in OP do not have any problem. So look at the rest of your dependencies.
thx ~I got it. I went to check the dependencies
An error occurs when v1 24 is upgraded to v1 26