stackabletech / operator-rs

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

refactor: Replace lazy_static with std::sync::LazyLock #840

Closed sbernauer closed 4 weeks ago

sbernauer commented 4 weeks ago

Description

Re-opening https://github.com/stackabletech/operator-rs/pull/827, after we got Rust 1.80 support via https://github.com/stackabletech/operator-templating/pull/420

Co-authored-by: Techassi git@techassi.dev

Definition of Done Checklist

# Author
- [ ] Changes are OpenShift compatible
- [ ] CRD changes approved
- [ ] Integration tests passed (for non trivial changes)
# Reviewer
- [ ] Code contains useful comments
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added