Skip to content

Commit c068fd9

Browse files
committed
Remove hardcoded uid and gid, they'll default to the ones from the docker images now
1 parent cf25e44 commit c068fd9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rust/operator-binary/src/druid_controller.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ use crate::{
8888
pub const DRUID_CONTROLLER_NAME: &str = "druidcluster";
8989
pub const FULL_CONTROLLER_NAME: &str = concatcp!(DRUID_CONTROLLER_NAME, '.', OPERATOR_NAME);
9090

91-
const DRUID_UID: i64 = 1000;
9291
const DOCKER_IMAGE_BASE_NAME: &str = "druid";
9392

9493
// volume names
@@ -1140,8 +1139,6 @@ fn build_rolegroup_statefulset(
11401139
.service_account_name(service_account.name_any())
11411140
.security_context(
11421141
PodSecurityContextBuilder::new()
1143-
.run_as_user(DRUID_UID)
1144-
.run_as_group(0)
11451142
.fs_group(1000)
11461143
.build(),
11471144
);

0 commit comments

Comments
 (0)