stackabletech / operator-rs

A simple wrapper/framework around kube-rs to make implementing Operators/Controllers easier
Apache License 2.0
116 stars 12 forks source link

feat: Add support for webhook servers #730

Closed Techassi closed 6 months ago

Techassi commented 7 months ago

Fixes https://github.com/stackabletech/issues/issues/508, supersedes #695, part of https://github.com/stackabletech/issues/issues/361

This adds support to create webhook servers based on axum. It additionally provides a ready-to-use conversion webhook server.


This PR does not include code for TLS cert auto-generation and as such doesn't support it (marked with todo!()). The code for this feature will be handled by a follow-up PR. Furthermore, the code for TLS cert chains will also move into the new crate.

Techassi commented 6 months ago

I just realized this still needs version bumps for rustls related crates. I will add those asap.

Techassi commented 6 months ago

The crates are now all up-to-date. This PR is now reviewable.