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

Dynakube resource fails to apply on operator(1.4.0) #4315

Open
sudhirpandey opened this issue Jan 20, 2025 · 0 comments
Open

Dynakube resource fails to apply on operator(1.4.0) #4315

sudhirpandey opened this issue Jan 20, 2025 · 0 comments

Comments

@sudhirpandey
Copy link

Describe the bug
A clear and concise description of what the bug is.
We are trying to apply a dynakube resource and it keeps failing with this error

is invalid: spec.templates.openTelemetryCollector.replicas: Invalid value: "null": spec.templates.openTelemetryCollector.replicas in body must be of type integer: "null"\n"

To Reproduce
Steps to reproduce the behavior:
update to the latest operator version 1.4.0 , apply a dynakube crd with these under spec

spec:
templates:
openTelemetryCollector:
replicas: 1

Expected behavior
The dynakube should have been applied in cluster

Additional context
we updated operatoer the from version 0.14.0 to 1.4.0 , now operataor includeing the webhooks are running at 1.4.0 and while applying the crd its rejecting with above error:
Also according to doc all the fields under Opentelemetry is optional

https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-parameters#spec-templates-opentelemetrycollector

I dont understand why validation ( dryrun is failing) .
We are trying to apply the resource( dynakube) uisng flux

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

No branches or pull requests

1 participant