File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ All notable changes to this project will be documented in this file.
21
21
- Replace stackable-operator ` print_startup_string ` with ` tracing::info! ` with fields.
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 ([ #704 ] ).
24
+ - Previously this operator would hardcode the UID and GID of the Pods being created to 1000/0, this has changed now ([ #718 ] )
25
+ - The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
24
26
25
27
### Fixed
26
28
@@ -37,6 +39,7 @@ All notable changes to this project will be documented in this file.
37
39
[ #710 ] : https://github.com/stackabletech/druid-operator/pull/710
38
40
[ #714 ] : https://github.com/stackabletech/druid-operator/pull/714
39
41
[ #716 ] : https://github.com/stackabletech/druid-operator/pull/716
42
+ [ #718 ] : https://github.com/stackabletech/druid-operator/pull/718
40
43
41
44
## [ 25.3.0] - 2025-03-21
42
45
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ use crate::{
88
88
pub const DRUID_CONTROLLER_NAME : & str = "druidcluster" ;
89
89
pub const FULL_CONTROLLER_NAME : & str = concatcp ! ( DRUID_CONTROLLER_NAME , '.' , OPERATOR_NAME ) ;
90
90
91
- const DRUID_UID : i64 = 1000 ;
92
91
const DOCKER_IMAGE_BASE_NAME : & str = "druid" ;
93
92
94
93
// volume names
@@ -1138,13 +1137,7 @@ fn build_rolegroup_statefulset(
1138
1137
. add_container ( cb_druid. build ( ) )
1139
1138
. metadata ( metadata)
1140
1139
. service_account_name ( service_account. name_any ( ) )
1141
- . security_context (
1142
- PodSecurityContextBuilder :: new ( )
1143
- . run_as_user ( DRUID_UID )
1144
- . run_as_group ( 0 )
1145
- . fs_group ( 1000 )
1146
- . build ( ) ,
1147
- ) ;
1140
+ . security_context ( PodSecurityContextBuilder :: new ( ) . fs_group ( 1000 ) . build ( ) ) ;
1148
1141
1149
1142
if merged_rolegroup_config. logging . enable_vector_agent {
1150
1143
match & druid. spec . cluster_config . vector_aggregator_config_map_name {
You can’t perform that action at this time.
0 commit comments