Skip to content

Add runtime and CEL validations to prevent ScrapeConfigSelector from being configured in PrometheusAgent Daemonset mode #7724

@mviswanathsai

Description

@mviswanathsai

Component(s)

No response

What is missing? Please describe.

The daemonset isn't supposed to be configured with the ScrapeConfig CRD. This needs to be made clear with both runtime and CEL (CRD level) validations.

Describe alternatives you've considered.

No response

Environment Information.

Environment

Kubernetes Version:
Prometheus-Operator Version:

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions