stackabletech / operator-rs

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

Add ListenerOperatorVolumeSourceBuilder::build_pvc #719

Closed nightkr closed 9 months ago

nightkr commented 9 months ago

Description

Persistent analogue of ::build() that is suitable for deploying directly, or for adding to a StatefulSet. Also renamed ::build() to ::build_ephemeral() for parity (and to clarify that it isn't, and shouldn't be, the default).

Extracted from https://github.com/stackabletech/hdfs-operator/pull/450.

Definition of Done Checklist

# Author
# Reviewer
- [x] Code contains useful comments
- [x] Documentation added or updated
- [x] Changelog updated
- [x] 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