File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ All notable changes to this project will be documented in this file.
2323 of having the operator write it to the vector config ([ #933 ] ).
2424- test: Bump to Vector 0.46.1 ([ #942 ] ).
2525- Use versioned common structs ([ #946 ] ).
26+ - BREAKING: Previously this operator would hardcode the UID and GID of the Pods being created to 1000/0, this has changed now ([ #950 ] )
27+ - The ` runAsUser ` and ` runAsGroup ` fields will not be set anymore by the operator
28+ - The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
29+ - This is marked as breaking because tools and policies might exist, which require these fields to be set
2630
2731### Fixed
2832
@@ -40,6 +44,7 @@ All notable changes to this project will be documented in this file.
4044[ #940 ] : https://github.com/stackabletech/zookeeper-operator/pull/940
4145[ #942 ] : https://github.com/stackabletech/zookeeper-operator/pull/942
4246[ #946 ] : https://github.com/stackabletech/zookeeper-operator/pull/946
47+ [ #950 ] : https://github.com/stackabletech/zookeeper-operator/pull/950
4348
4449## [ 25.3.0] - 2025-03-21
4550
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ use crate::{
8686pub const ZK_CONTROLLER_NAME : & str = "zookeepercluster" ;
8787pub const ZK_FULL_CONTROLLER_NAME : & str = concatcp ! ( ZK_CONTROLLER_NAME , '.' , OPERATOR_NAME ) ;
8888
89- pub const ZK_UID : i64 = 1000 ;
9089pub struct Ctx {
9190 pub client : stackable_operator:: client:: Client ,
9291 pub product_config : ProductConfigManager ,
@@ -955,8 +954,6 @@ fn build_server_rolegroup_statefulset(
955954 )
956955 . context ( AddVolumeSnafu ) ?
957956 . security_context ( PodSecurityContext {
958- run_as_user : Some ( ZK_UID ) ,
959- run_as_group : Some ( 0 ) ,
960957 fs_group : Some ( 1000 ) ,
961958 ..PodSecurityContext :: default ( )
962959 } )
You can’t perform that action at this time.
0 commit comments