You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: `(?!`
angrox, Joe-Klauza, alexiacobws, catt231, vignir88 and 20 more