Skip to content

Commit 8e50306

Browse files
committed
move code to previous place
1 parent 1e64189 commit 8e50306

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,10 +1240,6 @@ async fn build_node_rolegroup_statefulset(
12401240
.add_volumes(git_sync_resources.git_content_volumes.to_owned())
12411241
.context(AddVolumeSnafu)?;
12421242

1243-
authentication_config
1244-
.add_volumes_and_mounts(&mut pod_builder, vec![&mut container_prepare])
1245-
.context(AddAuthVolumesSnafu)?;
1246-
12471243
if let Some(ContainerLogConfig {
12481244
choice:
12491245
Some(ContainerLogConfigChoice::Custom(CustomContainerLogConfig {
@@ -1300,6 +1296,10 @@ async fn build_node_rolegroup_statefulset(
13001296
}
13011297
}
13021298

1299+
authentication_config
1300+
.add_volumes_and_mounts(&mut pod_builder, vec![&mut container_prepare])
1301+
.context(AddAuthVolumesSnafu)?;
1302+
13031303
let metadata = ObjectMetaBuilder::new()
13041304
.with_recommended_labels(build_recommended_labels(
13051305
nifi,

0 commit comments

Comments
 (0)