Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fluent-operator): fluentd watchedNamespaces mapping #412

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leonsteinhaeuser
Copy link
Contributor

To be able to set an empty array for watchedNamespaces, we need to change the way properties are added. Currently, if we set an empty array as a property, we get the following error message: ClusterFluentdConfig.fluentd.fluent.io "fluentd-config" is invalid: spec.watchedNamespaces: Invalid value: "null": spec.watchedNamespaces in body must be of type array: "null". The reason for this error message is that [] does not count as a value with an index, so the CR key is set to null, which is not a valid value.

@leonsteinhaeuser leonsteinhaeuser force-pushed the fix/fluent-operator-fluentd-watched-namespace-mapping branch from c3696b2 to bcd108d Compare August 24, 2023 10:35
@leonsteinhaeuser
Copy link
Contributor Author

@benjaminhuo Is this still the right place for the fluent-operator Helm chart?

@benjaminhuo
Copy link
Member

For PRs of the fluent operator chart, we recommend to submit to https://github.com/fluent/fluent-operator/tree/master/charts first, we'll sync each fluent operator release chart here in this repo

@leonsteinhaeuser
Copy link
Contributor Author

leonsteinhaeuser commented Sep 1, 2023

Good to know. Should I open the same PR for the fluent-operator repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants