• Kubernetes Submit Queue's avatar
    Merge pull request #35420 from soltysh/sj_replace_fix · 7d911417
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Remove Job also from .status.active for Replace strategy
    
    When iterating over list of Jobs we're removing each of them when strategy is replace. Unfortunately, the job reference was not removed from `.status.active` which cause the controller trying to remove it once again during next run and failed removing what was already removed during previous run. This was cause by not removing the reference previously. This PR fixes that and cleans logs a bit, in that controller.
    
    @erictune fyi
    @janetkuo ptal
    7d911417
Name
Last commit
Last update
..
BUILD Loading commit data...
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...
injection.go Loading commit data...
utils.go Loading commit data...
utils_test.go Loading commit data...