OpenLiberty / open-liberty-operator

Eclipse Public License 2.0
28 stars 36 forks source link

Set LTPA Job to match olapp leader's config #509

Closed kabicin closed 9 months ago

kabicin commented 9 months ago

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.