authentik.outposts.controllers.k8s.triggers

exceptions used by the kubernetes reconciler to trigger updates

 1"""exceptions used by the kubernetes reconciler to trigger updates"""
 2
 3from authentik.lib.tracing.exceptions import TracingIgnoredException
 4
 5
 6class ReconcileTrigger(TracingIgnoredException):
 7    """Base trigger raised by child classes to notify us"""
 8
 9
10class NeedsRecreate(ReconcileTrigger):
11    """Exception to trigger a complete recreate of the Kubernetes Object"""
12
13
14class NeedsUpdate(ReconcileTrigger):
15    """Exception to trigger an update to the Kubernetes Object"""
class ReconcileTrigger(authentik.lib.tracing.exceptions.TracingIgnoredException):
7class ReconcileTrigger(TracingIgnoredException):
8    """Base trigger raised by child classes to notify us"""

Base trigger raised by child classes to notify us

class NeedsRecreate(ReconcileTrigger):
11class NeedsRecreate(ReconcileTrigger):
12    """Exception to trigger a complete recreate of the Kubernetes Object"""

Exception to trigger a complete recreate of the Kubernetes Object

class NeedsUpdate(ReconcileTrigger):
15class NeedsUpdate(ReconcileTrigger):
16    """Exception to trigger an update to the Kubernetes Object"""

Exception to trigger an update to the Kubernetes Object