Skip to content

Commit

Permalink
Add missing annotation to TargetAllocator ScrapeConfigs field (#2882)
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm authored Apr 24, 2024
1 parent 5388e88 commit 2504f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/v1beta1/targetallocator_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ type TargetAllocatorSpec struct {
// For the exact format, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config.
// +optional
// +listType=atomic
// +kubebuilder:pruning:PreserveUnknownFields
ScrapeConfigs []AnyConfig `json:"scrapeConfigs,omitempty"`
// PrometheusCR defines the configuration for the retrieval of PrometheusOperator CRDs ( servicemonitor.monitoring.coreos.com/v1 and podmonitor.monitoring.coreos.com/v1 ).
// +optional
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/opentelemetry.io_targetallocators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2322,6 +2322,7 @@ spec:
type: object
type: array
x-kubernetes-list-type: atomic
x-kubernetes-preserve-unknown-fields: true
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down

0 comments on commit 2504f5b

Please sign in to comment.