File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ All notable changes to this project will be documented in this file.
14
14
- Operator-rs: ` 0.40.2 ` -> ` 0.41.0 ` ([ #673 ] ).
15
15
- Use 0.0.0-dev product images for testing ([ #674 ] )
16
16
- Use testing-tools 0.2.0 ([ #674 ] )
17
+ - Run as root group ([ #680 ] )
17
18
18
19
[ #672 ] : https://github.com/stackabletech/zookeeper-operator/pull/672
19
20
[ #673 ] : https://github.com/stackabletech/zookeeper-operator/pull/673
20
21
[ #674 ] : https://github.com/stackabletech/zookeeper-operator/pull/674
21
22
[ #675 ] : https://github.com/stackabletech/zookeeper-operator/pull/675
22
23
[ #676 ] : https://github.com/stackabletech/zookeeper-operator/pull/676
24
+ [ #680 ] : https://github.com/stackabletech/zookeeper-operator/pull/680
23
25
24
26
## [ 23.4.0] - 2023-04-17
25
27
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ use std::{
64
64
use strum:: { EnumDiscriminants , IntoStaticStr } ;
65
65
66
66
pub const ZK_CONTROLLER_NAME : & str = "zookeepercluster" ;
67
-
67
+ pub const ZK_UID : i64 = 1000 ;
68
68
pub struct Ctx {
69
69
pub client : stackable_operator:: client:: Client ,
70
70
pub product_config : ProductConfigManager ,
@@ -748,8 +748,8 @@ fn build_server_rolegroup_statefulset(
748
748
..Volume :: default ( )
749
749
} )
750
750
. security_context ( PodSecurityContext {
751
- run_as_user : Some ( 1000 ) ,
752
- run_as_group : Some ( 1000 ) ,
751
+ run_as_user : Some ( ZK_UID ) ,
752
+ run_as_group : Some ( 0 ) ,
753
753
fs_group : Some ( 1000 ) ,
754
754
..PodSecurityContext :: default ( )
755
755
} )
You can’t perform that action at this time.
0 commit comments