-
I'm trying to make an Admission controller like described in the example. # ...
kube = { version = "0.52.0", features = ["admission"] }
kube-runtime = "0.52.0"
kube-derive = "0.52.0"
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_18"] }
# .. But now
Installed versions (on a win 10):
I'm still rather new to rust, maybe I just missed something. Then a pointer in the right direction would be very much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ah, sorry. I have kept the feature in |
Beta Was this translation helpful? Give feedback.
-
In the meantime, you can use a git dependency by replacing your kube-rs dependencies with: kube = { git = "https://github.com/clux/kube-rs.git", features = ["admission", "derive"] }
kube-runtime = { git = "https://github.com/clux/kube-rs.git" } You generally don't need a separate dependency on |
Beta Was this translation helpful? Give feedback.
In the meantime, you can use a git dependency by replacing your kube-rs dependencies with:
You generally don't need a separate dependency on
kube-derive
, as long askube
'sderive
feature is enabled.