Skip to content

Commit e4762ac

Browse files
author
Moritz Clasmeier
committed
Unconditionally invoke deploySettings.Operator.Configure()
1 parent b43af81 commit e4762ac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/deploy.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,9 @@ func configureConfig(log *logger.Logger, components component.Component, deployS
481481
deploySettings.SecuredCluster.ResourceProfile = profile
482482
}
483483

484+
// We need to do this irregardless of wether the operator is deployed or not, because
485+
// this includes the transformation of StackRox main image tags to semver compatibles versions,
486+
// which we will make use of later for checking version constraints.
484487
if err := deploySettings.Operator.Configure(&deploySettings.Roxie); err != nil {
485488
return fmt.Errorf("configuring operator configuration: %w", err)
486489
}

0 commit comments

Comments
 (0)