File tree 6 files changed +6
-15
lines changed
6 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ All notable changes to this project will be documented in this file.
22
22
- BREAKING: Inject the vector aggregator address into the vector config using the env var ` VECTOR_AGGREGATOR_ADDRESS ` instead
23
23
of having the operator write it to the vector config ([ #671 ] ).
24
24
- test: Bump to Vector ` 0.46.1 ` ([ #677 ] ).
25
+ - BREAKING: Previously this operator would hardcode the UID and GID of the Pods being created to 1000/0, this has changed now ([ #683 ] )
26
+ - The ` runAsUser ` and ` runAsGroup ` fields will not be set anymore by the operator
27
+ - The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
28
+ - This is marked as breaking because tools and policies might exist, which require these fields to be set
25
29
26
30
### Fixed
27
31
@@ -39,6 +43,7 @@ All notable changes to this project will be documented in this file.
39
43
[ #672 ] : https://github.com/stackabletech/hdfs-operator/pull/672
40
44
[ #675 ] : https://github.com/stackabletech/hdfs-operator/pull/675
41
45
[ #677 ] : https://github.com/stackabletech/hdfs-operator/pull/677
46
+ [ #683 ] : https://github.com/stackabletech/hdfs-operator/pull/683
42
47
43
48
## [ 25.3.0] - 2025-03-21
44
49
Original file line number Diff line number Diff line change @@ -82,5 +82,3 @@ pub const DATANODE_ROOT_DATA_DIR_SUFFIX: &str = "/datanode";
82
82
83
83
pub const LISTENER_VOLUME_NAME : & str = "listener" ;
84
84
pub const LISTENER_VOLUME_DIR : & str = "/stackable/listener" ;
85
-
86
- pub const HDFS_UID : i64 = 1000 ;
Original file line number Diff line number Diff line change @@ -827,13 +827,7 @@ fn rolegroup_statefulset(
827
827
. image_pull_secrets_from_product_image ( resolved_product_image)
828
828
. affinity ( & merged_config. affinity )
829
829
. service_account_name ( service_account. name_any ( ) )
830
- . security_context (
831
- PodSecurityContextBuilder :: new ( )
832
- . run_as_user ( HDFS_UID )
833
- . run_as_group ( 0 )
834
- . fs_group ( 1000 )
835
- . build ( ) ,
836
- ) ;
830
+ . security_context ( PodSecurityContextBuilder :: new ( ) . fs_group ( 1000 ) . build ( ) ) ;
837
831
838
832
// Adds all containers and volumes to the pod builder
839
833
// We must use the selector labels ("rolegroup_selector_labels") and not the recommended labels
Original file line number Diff line number Diff line change 86
86
storage: "1"
87
87
securityContext:
88
88
fsGroup: 1000
89
- runAsGroup: 1000
90
- runAsUser: 1000
91
89
restartPolicy: OnFailure
Original file line number Diff line number Diff line change 58
58
storage: "1"
59
59
securityContext:
60
60
fsGroup: 1000
61
- runAsGroup: 1000
62
- runAsUser: 1000
63
61
restartPolicy: OnFailure
Original file line number Diff line number Diff line change @@ -64,7 +64,5 @@ commands:
64
64
storage: "1"
65
65
securityContext:
66
66
fsGroup: 1000
67
- runAsGroup: 1000
68
- runAsUser: 1000
69
67
restartPolicy: OnFailure
70
68
EOF
You can’t perform that action at this time.
0 commit comments