File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
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 ([ #704 ] ).
24
24
- test: Bump to Vector ` 0.46.1 ` ([ #719 ] ).
25
25
- test: Bump OPA to ` 1.4.2 ` ([ #721 ] ).
26
+ - BREAKING: Previously this operator would hardcode the UID and GID of the Pods being created to 1000/0, this has changed now ([ #718 ] )
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
@@ -39,6 +43,7 @@ All notable changes to this project will be documented in this file.
39
43
[ #710 ] : https://github.com/stackabletech/druid-operator/pull/710
40
44
[ #714 ] : https://github.com/stackabletech/druid-operator/pull/714
41
45
[ #716 ] : https://github.com/stackabletech/druid-operator/pull/716
46
+ [ #718 ] : https://github.com/stackabletech/druid-operator/pull/718
42
47
[ #719 ] : https://github.com/stackabletech/druid-operator/pull/719
43
48
[ #721 ] : https://github.com/stackabletech/druid-operator/pull/721
44
49
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