stackabletech / operator-rs

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

refactor: Use ProductImage::product_version internally #818

Closed sbernauer closed 3 months ago

sbernauer commented 3 months ago

Description

Follow-up of https://github.com/stackabletech/operator-rs/pull/817

This way we have a single point of responsibility, which makes it easier to plug in the recommended product version later on, while maintaining the ergonomic API from https://github.com/stackabletech/operator-rs/pull/817.

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