fluent-operator: Incorrect Value for KeyDoesNotExist

Describe the bug

Condition.KeyDoesNotExist takes map[string]string. However, the docs only have one param. I think this should be similar to KeyExists?

Is this a bug? If so I’ll submit a PR. If not, what is the proper value for the map value? Also, can I work around it by setting the value to the empty string?

Note there are tests asserting what I believe to be the wrong thing here. Or at least they contradict the FluentBit docs.

To Reproduce

n/a

Expected behavior

n/a

Your Environment

- Fluent Operator version: master
- Container Runtime: n/a
- Operating system: n/a
- Kernel version: n/a

How did you install fluent operator?

No response

What happened?

No response

Your Error Log

n/a

Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 21 (12 by maintainers)

Most upvoted comments

The PR has been reverted and let’s reopen this issue to continue to work on it.