homeport/dyff

Exclude for labels/annotations with slashes and dots in them

gitargowithit opened this issue · 0 comments

If you have the following:

kind: Deployment
metadata:
    annotations:
        test.io/tracking-id: atestinstance-001
    labels:
        app.kubernetes.io/instance: atestinstance001

How do you use exclude with this? Just doing metadata.labels does exclude all the labels but the . and / characters seem to cause issues with the exclude logic being able to identify the label.