Skip to content

Commit

Permalink
wording of owner
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Sep 25, 2023
1 parent 96f5d9c commit 9889d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/builder/pdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl PodDisruptionBudgetBuilder<(), (), ()> {
/// This method populates `metadata` and `selector` from the give role (not roleGroup!).
///
/// The parameters are the same as the fields from [`crate::labels::ObjectLabels`]:
/// * `owner` - Reference to the k8s object owning the PDB, this should be e.g. `HdfsCluster` or `TrinoCluster`.
/// * `owner` - Reference to the k8s object owning the created resource, such as `HdfsCluster` or `TrinoCluster`.
/// * `app_name` - The name of the app being managed, such as `hdfs` or `trino`.
/// * `role` - The role that this object belongs to, e.g. `datanode` or `worker`.
/// * `operator_name` - The DNS-style name of the operator managing the object (such as `hdfs.stackable.tech`).
Expand Down
2 changes: 1 addition & 1 deletion src/labels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub const APP_ROLE_GROUP_LABEL: &str = concatcp!(APP_KUBERNETES_LABEL_BASE, "rol
/// See [`get_recommended_labels`] and [`ObjectMetaBuilder::with_recommended_labels`].
#[derive(Debug, Clone, Copy)]
pub struct ObjectLabels<'a, T> {
/// The name of the object that this object is being created on behalf of, such as a `ZookeeperCluster`
/// Reference to the k8s object owning the created resource, such as `HdfsCluster` or `TrinoCluster`.
pub owner: &'a T,
/// The name of the app being managed, such as `zookeeper`
pub app_name: &'a str,
Expand Down

0 comments on commit 9889d9b

Please sign in to comment.