Relating to https://github.com/WASdev/websphere-liberty-operator/issues/568. This change covers the scenario when the LTPA Job config is outdated (i.e. pull secret ref or service account ref has changed) just before the LTPA Secret is created. In this case, the operator could potentially be waiting on an LTPA Job that might fail. Instead, the operator will react to this and restart LTPA generation once again matching the olapp spec (pullsecret/service account/etc.), lowering the risk of waiting on a failed Job.
Relating to https://github.com/WASdev/websphere-liberty-operator/issues/568. This change covers the scenario when the LTPA Job config is outdated (i.e. pull secret ref or service account ref has changed) just before the LTPA Secret is created. In this case, the operator could potentially be waiting on an LTPA Job that might fail. Instead, the operator will react to this and restart LTPA generation once again matching the olapp spec (pullsecret/service account/etc.), lowering the risk of waiting on a failed Job.