Hi,
I installed kube-slack via the helm chart and tried to use the kube-slack/ignore-pod annotation. Sadly the pods were not ignored, because Javascript returns false if you test for an empty string
if(annotations['kube-slack/ignore-pod'])
Would it be possible to either change this to
if (typeof annotations['kube-slack/ignore-pod'] !== 'undefined')
or update the documentation to specify that you have to add a value.
Maybe I am the only one who got this wrong.
Thanks
Hi, I installed kube-slack via the helm chart and tried to use the
kube-slack/ignore-pod annotation
. Sadly the pods were not ignored, because Javascript returnsfalse
if you test for an empty stringif(annotations['kube-slack/ignore-pod'])
Would it be possible to either change this to
if (typeof annotations['kube-slack/ignore-pod'] !== 'undefined')
or update the documentation to specify that you have to add a value. Maybe I am the only one who got this wrong. Thanks