File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
tests/templates/kuttl/smoke Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,10 @@ pub async fn reconcile_superset(
467467 . with_context ( |_| ApplyRoleGroupConfigSnafu {
468468 rolegroup : rolegroup. clone ( ) ,
469469 } ) ?;
470+
471+ // Note: The StatefulSet needs to be applied after all ConfigMaps and Secrets it mounts
472+ // to prevent unnecessary Pod restarts.
473+ // See https://github.com/stackabletech/commons-operator/issues/111 for details.
470474 ss_cond_builder. add (
471475 cluster_resources
472476 . add ( client, rg_statefulset. clone ( ) )
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ apiVersion: apps/v1
1111kind : StatefulSet
1212metadata :
1313 name : superset-node-default
14+ generation : 1 # There should be no unneeded Pod restarts
1415spec :
1516 template :
1617 spec :
You can’t perform that action at this time.
0 commit comments