File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2121 of having the operator write it to the vector config ([ #645 ] ).
2222- test: Bump to Vector ` 0.46.1 ` ([ #657 ] ).
2323- test: Bump OPA to ` 1.4.2 ` ([ #661 ] ).
24+ - BREAKING: Previously this operator would hardcode the UID and GID of the Pods being created to 1000/0, this has changed now ([ #660 ] )
25+ - The ` runAsUser ` and ` runAsGroup ` fields will not be set anymore by the operator
26+ - The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
27+ - This is marked as breaking because tools and policies might exist, which require these fields to be set
2428
2529### Fixed
2630
4044[ #654 ] : https://github.com/stackabletech/hbase-operator/pull/654
4145[ #655 ] : https://github.com/stackabletech/hbase-operator/pull/655
4246[ #657 ] : https://github.com/stackabletech/hbase-operator/pull/657
47+ [ #660 ] : https://github.com/stackabletech/hbase-operator/pull/660
4348[ #661 ] : https://github.com/stackabletech/hbase-operator/pull/661
4449
4550## [ 25.3.0] - 2025-03-21
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ const HBASE_CONFIG_TMP_DIR: &str = "/stackable/tmp/hbase";
101101const HBASE_LOG_CONFIG_TMP_DIR : & str = "/stackable/tmp/log_config" ;
102102
103103const DOCKER_IMAGE_BASE_NAME : & str = "hbase" ;
104- const HBASE_UID : i64 = 1000 ;
105104
106105pub struct Ctx {
107106 pub client : stackable_operator:: client:: Client ,
@@ -939,13 +938,7 @@ fn build_rolegroup_statefulset(
939938 )
940939 . context ( AddVolumeSnafu ) ?
941940 . service_account_name ( service_account. name_any ( ) )
942- . security_context (
943- PodSecurityContextBuilder :: new ( )
944- . run_as_user ( HBASE_UID )
945- . run_as_group ( 0 )
946- . fs_group ( 1000 )
947- . build ( ) ,
948- ) ;
941+ . security_context ( PodSecurityContextBuilder :: new ( ) . fs_group ( 1000 ) . build ( ) ) ;
949942
950943 if let Some ( ContainerLogConfig {
951944 choice :
You can’t perform that action at this time.
0 commit comments