Skip to content

Commit

Permalink
fix: fixing disableprometheusannotations for v1alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
rivToadd committed Aug 14, 2024
1 parent 1e35932 commit f033476
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apis/v1alpha1/opentelemetrycollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ type MetricsConfigSpec struct {
//
// +optional
// +kubebuilder:validation:Optional
DisablePrometheusAnnotations bool `json:"DisablePrometheusAnnotations,omitempty"`
DisablePrometheusAnnotations bool `json:"disablePrometheusAnnotations,omitempty"`
}

// ObservabilitySpec defines how telemetry data gets handled.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2024-08-07T08:29:24Z"
createdAt: "2024-08-14T01:11:19Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -504,7 +504,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.106.0
image: ghcr.io/toaddyan/opentelemetry-operator/opentelemetry-operator:0.106.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down Expand Up @@ -3112,7 +3112,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2024-08-07T08:29:28Z"
createdAt: "2024-08-14T01:11:19Z"
description: Provides the OpenTelemetry components, including the Collector
operators.operatorframework.io/builder: operator-sdk-v1.29.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
Expand Down Expand Up @@ -508,7 +508,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.106.0
image: ghcr.io/toaddyan/opentelemetry-operator/opentelemetry-operator:0.106.0
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down Expand Up @@ -3112,7 +3112,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down Expand Up @@ -3098,7 +3098,7 @@ spec:
properties:
metrics:
properties:
DisablePrometheusAnnotations:
disablePrometheusAnnotations:
type: boolean
enableMetrics:
type: boolean
Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21272,7 +21272,7 @@ Metrics defines the metrics configuration for operands.
</tr>
</thead>
<tbody><tr>
<td><b>DisablePrometheusAnnotations</b></td>
<td><b>disablePrometheusAnnotations</b></td>
<td>boolean</td>
<td>
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations
Expand Down Expand Up @@ -24424,7 +24424,7 @@ Metrics defines the metrics configuration for operands.
</tr>
</thead>
<tbody><tr>
<td><b>DisablePrometheusAnnotations</b></td>
<td><b>disablePrometheusAnnotations</b></td>
<td>boolean</td>
<td>
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations
Expand Down

0 comments on commit f033476

Please sign in to comment.