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.
23
23
of having the operator write it to the vector config ([ #933 ] ).
24
24
- test: Bump to Vector 0.46.1 ([ #942 ] ).
25
25
- 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
26
30
27
31
### Fixed
28
32
@@ -40,6 +44,7 @@ All notable changes to this project will be documented in this file.
40
44
[ #940 ] : https://github.com/stackabletech/zookeeper-operator/pull/940
41
45
[ #942 ] : https://github.com/stackabletech/zookeeper-operator/pull/942
42
46
[ #946 ] : https://github.com/stackabletech/zookeeper-operator/pull/946
47
+ [ #950 ] : https://github.com/stackabletech/zookeeper-operator/pull/950
43
48
44
49
## [ 25.3.0] - 2025-03-21
45
50
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ use crate::{
86
86
pub const ZK_CONTROLLER_NAME : & str = "zookeepercluster" ;
87
87
pub const ZK_FULL_CONTROLLER_NAME : & str = concatcp ! ( ZK_CONTROLLER_NAME , '.' , OPERATOR_NAME ) ;
88
88
89
- pub const ZK_UID : i64 = 1000 ;
90
89
pub struct Ctx {
91
90
pub client : stackable_operator:: client:: Client ,
92
91
pub product_config : ProductConfigManager ,
@@ -955,8 +954,6 @@ fn build_server_rolegroup_statefulset(
955
954
)
956
955
. context ( AddVolumeSnafu ) ?
957
956
. security_context ( PodSecurityContext {
958
- run_as_user : Some ( ZK_UID ) ,
959
- run_as_group : Some ( 0 ) ,
960
957
fs_group : Some ( 1000 ) ,
961
958
..PodSecurityContext :: default ( )
962
959
} )
You can’t perform that action at this time.
0 commit comments