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
is it possible to change object filtering method from full-match to regexps? I am trying to filter out bootstrap secrets in kube-system which are regenerated quite often within our cluster. TBH I am not sure if it would be backward compatible change, but I suppose there are should not be any object with regexp special chars in its name.
Unfortunately I am unable to find and suitable configuration to filter these object because it's generic Kind=Secret, lives in namespace kube-system and doesn't have any labels on it. It has type: bootstrap.kubernetes.io/token but there is no way to match it.
I have similar usecase.
My usecase is i want to exclude certain objects with a known pattern in the annotation.
There's a current feature to filter (inclusive) based on labels, perhaps we can extend this to be exclusive,
So rather than "select objects matching" using --filter, we can have also have "exclude objects matching" using --exclude.
And also, to match not only based on labels, but also annotations.
Yes, I understand that labels are to be used for selection, not annotations.
But most controllers out there actually only annotate objects, they dont label.
And they can be noisy.
Hello,
is it possible to change object filtering method from full-match to regexps? I am trying to filter out bootstrap secrets in
kube-system
which are regenerated quite often within our cluster. TBH I am not sure if it would be backward compatible change, but I suppose there are should not be any object with regexp special chars in its name.My object it self looks like:
Unfortunately I am unable to find and suitable configuration to filter these object because it's generic
Kind=Secret
, lives in namespacekube-system
and doesn't have any labels on it. It hastype: bootstrap.kubernetes.io/token
but there is no way to match it.The text was updated successfully, but these errors were encountered: