What is the problem you're trying to solve
We'd like to be able to call acr purge tasks to delete all images older than X days that aren't currently in use on our aks cluster. The current golang library used does not support negative look aheads.
Describe the solution you'd like
We'd like to generate an exclude list via:
kubectl get pods --all-namespaces -o=jsonpath="{..image}" -l app=<appName>
And feed that to acr purge with either an --exclude-tag or a negative lookahead regex on --filter
Additional context
Error: failed to dry-run purge: error parsing regexp: invalid or unsupported Perl syntax: `(?!`