Cargo Features

[dependencies]
krator = { version = "0.6.0", default-features = false, features = ["kube-native-tls", "rustls-tls", "derive", "admission-webhook", "derive-admission-webhook"] }
default = kube-native-tls

The kube-native-tls feature is set by default whenever krator is added without default-features = false somewhere in the dependency tree.

kube-native-tls default

Enables native-tls of kube ^0.64

rustls-tls

Enables rustls-tls of kube ^0.64

derive derive-admission-webhook? = krator-derive
admission-webhook derive-admission-webhook? = json-patch, serde_yaml, warp

Affects krator::admission, operator::Operator.admission_hook, operator::Operator.admission_hook_tls

derive-admission-webhook = admission-webhook, derive, rcgen

Enables admission-webhook of krator-derive

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_yaml admission-webhook?

Enables serde_yaml ^0.8

krator-derive derive? derive-admission-webhook?
warp admission-webhook?
json-patch admission-webhook?

Enables json-patch ^0.2

rcgen derive-admission-webhook?

Enables rcgen ^0.8.9