Skip to content

Add validation to ObservabilityPolicy to require TargetRefs #2524

Closed
@kate-osborn

Description

@kate-osborn

The ObservabilityPolicy CRD should require a minimum of 1 TargetRef.

See this convo: #2515 (comment)

  • Will need to bump version of CRD
  • Confirm that bumping the version of the CRD does not affect valid ObservabilityPolicys
  • How do we handle v1alpha1? Deprecation for 3 weeks? Look at Kubernetes doc on CRD versioning and update our own guide.
  • Just follow the doc on how to do versioning changes

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrefinedRequirements are refined and the issue is ready to be implemented.size/smallEstimated to be completed within ~2 days

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions