Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.13] OCPBUGS-8525: Wait for soakSeconds after policy becomes compliant before moving on from policy #496

Commits on Mar 7, 2023

  1. Add ability to wait for soak duration after policy becomes compliant

    If a policy has the `soakSeconds` annotation, the controller will wait for the specified
    number of seconds after the first time it observes that the cluster is compliant with
    that policy before moving on from that policy. The controller will set
    `status.status.currentBatchRemediationProgress.clusterName.firstCompliantAt` the first time
    it observes that the cluster is compliant with the policy. In the following reconciliations,
    if the requested number of seconds has passed since firstCompliantAt, and the cluster remains
    compliant with the policy, the controller will move on from that policy.
    
    Signed-off-by: Saeid Askari <saskari@redhat.com>
    sudomakeinstall2 authored and openshift-cherrypick-robot committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    6c8442f View commit details
    Browse the repository at this point in the history