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

chore: Correctly terminate null objects in collector template #494

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Jul 29, 2024

Description

This removes warning:

W0725 16:45:37.530588   37879 warnings.go:70] Collector config
spec.config has null objects: processors.batch:,
receivers.otlp.protocols.grpc:. For compatibility with other tooling,
such as kustomize and kubectl edit, it is recommended to use empty
objects e.g. batch: {}.

Test

Tested manually.

Additional Information

Tradeoff

Potential improvement

This removes warning:
```
W0725 16:45:37.530588   37879 warnings.go:70] Collector config
spec.config has null objects: processors.batch:,
receivers.otlp.protocols.grpc:. For compatibility with other tooling,
such as kustomize and kubectl edit, it is recommended to use empty
objects e.g. batch: {}.
```

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
@viccuad viccuad self-assigned this Jul 29, 2024
@viccuad viccuad requested a review from a team as a code owner July 29, 2024 09:50
@fabriziosestito fabriziosestito merged commit bb25d35 into kubewarden:main Jul 29, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants