# Generated by confd function osh_filters () { # support any addresses matching our secondary announcements {{- range .Values.networking.bgp.ipv6.additional_cidrs }} if ( net ~ {{ . }} ) then { accept; } {{- end }} } filter calico_pools { calico_aggr(); osh_filters(); {{`{{range ls "/pool"}}{{$data := json (getv (printf "/pool/%s" .))}}`}} {{` if ( net ~ {{$data.cidr}} ) then {`}} accept; } {{`{{end}}`}} reject; }