Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@
- Fix a longstanding problem of including empty `categories`, `shortNames` and `additionalPrinterColumns` in the CRDs,
which could cause problems with GitOps tools (e.g. ArgoCD) reporting a diff in the custom resources.
See [our internal issue](https://github.com/stackabletech/hdfs-operator/issues/626) and [the fix](https://github.com/kube-rs/kube/pull/2042) for details ([#792]).
- BREAKING: The app.kubernetes.io/managed-by label value changed from hbase.stackable.com_hbasecluster to
hbase.stackable.tech_hbasecluster, aligning with all other operators ([#795]).
- BREAKING: The rest-server listener PVC template now carries only the unversioned selector labels.
Existing rest-server StatefulSets must be deleted once before the new operator can reconcile them ([#795]).

[#776]: https://github.com/stackabletech/hbase-operator/pull/776
[#782]: https://github.com/stackabletech/hbase-operator/pull/782
[#786]: https://github.com/stackabletech/hbase-operator/pull/786
[#787]: https://github.com/stackabletech/hbase-operator/pull/787
[#792]: https://github.com/stackabletech/hbase-operator/pull/792
[#795]: https://github.com/stackabletech/hbase-operator/pull/795

## [26.7.0] - 2026-07-21

Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/controller/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ mod tests {
("app.kubernetes.io/instance", "my-hbase".to_string()),
(
"app.kubernetes.io/managed-by",
"hbase.stackable.com_hbasecluster".to_string(),
"hbase.stackable.tech_hbasecluster".to_string(),
),
("app.kubernetes.io/name", "hbase".to_string()),
("app.kubernetes.io/role-group", "none".to_string()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use stackable_operator::{
},
apimachinery::pkg::{apis::meta::v1::LabelSelector, util::intstr::IntOrString},
},
kvp::Label,
product_logging,
v2::{
builder::pod::container::{EnvVarName, EnvVarSet, new_container_builder},
Expand Down Expand Up @@ -299,8 +300,15 @@ pub fn build_rolegroup_statefulset(
));
}

// Listener PVC labels should stay stable across upgrades and so should not
// include the version field (see HDFS for a similar pattern).
let mut unversioned_labels = cluster.role_group_selector(hbase_role, role_group_name);
// Neither vendor nor managed-by are included in role_group_selector
// labels: vendor is a required and so add it back.
unversioned_labels.insert(Label::stackable_vendor());

let listener_pvc =
super::listener::build_listener_pvc(hbase_role, merged_config, &recommended_labels);
super::listener::build_listener_pvc(hbase_role, merged_config, &unversioned_labels);

if let Some(listener_volume) =
super::listener::build_listener_volume(hbase_role, merged_config, &recommended_labels)
Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/crd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub mod security;

pub const APP_NAME: &str = "hbase";
pub const FIELD_MANAGER: &str = "hbase-operator";
pub const OPERATOR_NAME: &str = "hbase.stackable.com";
pub const OPERATOR_NAME: &str = "hbase.stackable.tech";

// This constant is hard coded in hbase-entrypoint.sh
// You need to change it there too.
Expand Down
46 changes: 22 additions & 24 deletions tests/templates/kuttl/smoke/30-assert.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -46,7 +46,7 @@ metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
prometheus.io/scrape: "true"
Expand All @@ -73,7 +73,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -108,7 +108,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
prometheus.io/scrape: "true"
Expand All @@ -135,7 +135,7 @@ metadata:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -170,7 +170,7 @@ metadata:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
prometheus.io/scrape: "true"
Expand Down Expand Up @@ -199,7 +199,7 @@ metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
restarter.stackable.tech/enabled: "true"
Expand All @@ -224,7 +224,7 @@ spec:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -406,7 +406,7 @@ spec:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -430,7 +430,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
restarter.stackable.tech/enabled: "true"
Expand All @@ -450,7 +450,7 @@ spec:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -641,7 +641,7 @@ spec:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -665,7 +665,7 @@ metadata:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
restarter.stackable.tech/enabled: "true"
Expand All @@ -690,7 +690,7 @@ spec:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -871,7 +871,6 @@ spec:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -893,7 +892,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: discovery
stackable.tech/vendor: Stackable
Expand All @@ -910,7 +909,7 @@ metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -927,7 +926,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -944,7 +943,7 @@ metadata:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand All @@ -960,7 +959,7 @@ kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
name: test-hbase-serviceaccount
ownerReferences:
Expand All @@ -974,7 +973,7 @@ kind: RoleBinding
metadata:
labels:
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
name: test-hbase-rolebinding
ownerReferences:
Expand Down Expand Up @@ -1023,7 +1022,7 @@ metadata:
labels:
app.kubernetes.io/component: master
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -1056,7 +1055,7 @@ metadata:
labels:
app.kubernetes.io/component: regionserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/managed-by: hbase.stackable.tech_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down Expand Up @@ -1089,7 +1088,6 @@ metadata:
labels:
app.kubernetes.io/component: restserver
app.kubernetes.io/instance: test-hbase
app.kubernetes.io/managed-by: hbase.stackable.com_hbasecluster
app.kubernetes.io/name: hbase
app.kubernetes.io/role-group: default
stackable.tech/vendor: Stackable
Expand Down
Loading