mirror of
https://forge.liiib.re/indiehost/libre.sh/libre.sh.git
synced 2024-12-28 14:46:41 +00:00
fix(samlclient): watch idp secret instead of service
This commit is contained in:
parent
69b2dcf7f9
commit
265563b2ee
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ func (r *SAMLClientReconciler) SetupWithManager(mgr ctrl.Manager) error {
|
||||||
return ctrl.NewControllerManagedBy(mgr).
|
return ctrl.NewControllerManagedBy(mgr).
|
||||||
For(&lshcore.SAMLClient{}).
|
For(&lshcore.SAMLClient{}).
|
||||||
Owns(&certmanager.Certificate{}).
|
Owns(&certmanager.Certificate{}).
|
||||||
Watches(&corev1.Service{}, handler.EnqueueRequestsFromMapFunc(r.findObjectsForSecret)).
|
Watches(&corev1.Secret{}, handler.EnqueueRequestsFromMapFunc(r.findObjectsForSecret)).
|
||||||
Complete(r)
|
Complete(r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue