is_scout_opted_in

Function is_scout_opted_in 

Source
pub fn is_scout_opted_in(annotations: &BTreeMap<String, String>) -> bool
Expand description

Returns true if Scout should manage this Ingress.

Accepts either the simplified opt-in annotation:

  • bindy.firestoned.io/scout-enabled: "true" (preferred for new deployments)

Or the legacy annotation for backward compatibility:

  • bindy.firestoned.io/recordKind: "ARecord"

The record kind always defaults to ARecord — no further annotation is needed.