task: removing 10 second poll for optional secrets / configmaps (#31729)
closes: #31680 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
7ce6f12fe3
commit
a7c71dc0bc
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public class KeycloakController implements Reconciler<Keycloak>, EventSourceInit
|
||||||
|
|
||||||
var statefulSet = context.getSecondaryResource(StatefulSet.class);
|
var statefulSet = context.getSecondaryResource(StatefulSet.class);
|
||||||
|
|
||||||
if (!status.isReady() || statefulSet.filter(watchedResources::hasMissing).isPresent()) {
|
if (!status.isReady()) {
|
||||||
updateControl.rescheduleAfter(10, TimeUnit.SECONDS);
|
updateControl.rescheduleAfter(10, TimeUnit.SECONDS);
|
||||||
} else if (statefulSet.filter(watchedResources::isWatching).isPresent()) {
|
} else if (statefulSet.filter(watchedResources::isWatching).isPresent()) {
|
||||||
updateControl.rescheduleAfter(config.keycloak().pollIntervalSeconds(), TimeUnit.SECONDS);
|
updateControl.rescheduleAfter(config.keycloak().pollIntervalSeconds(), TimeUnit.SECONDS);
|
||||||
|
|
Loading…
Reference in a new issue