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(charts,logging-operator): add empty workloadMetaOverrides field i… #1833

Conversation

sebastiangaiser
Copy link
Contributor

…n hosttailer if not specified

The '.spec.workloadMetaOverrides' field is required for all hosttailer resources. Unfortunately if not set the deployment via the chart fails with 'is invalid: spec.workloadMetaOverrides: Required value'. In order to mitigate this, an empty object is injected if not specified.

…n hosttailer if not specified

The '.spec.workloadMetaOverrides' field is required for all hosttailer resources. Unfortunately if not set the deployment via the chart fails with 'is invalid: spec.workloadMetaOverrides: Required value'. In order to mitigate this, an empty object is injected if not specified.

Signed-off-by: Sebastian Gaiser <sebastiangaiser@users.noreply.github.com>
@sebastiangaiser
Copy link
Contributor Author

sebastiangaiser commented Oct 23, 2024

@csatib02 please don't merge this. Even passing an empty object isn't allowed, too. I think this might need to be fixed in the operator and relaxing the crd. Maybe I was a bit to fast opening the PR, sorry for that.

@sebastiangaiser
Copy link
Contributor Author

@csatib02 I created a bug instead, sorry for the turn around.

@sebastiangaiser sebastiangaiser deleted the host-tailer-default-workloadmetaoverride branch October 23, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants