Skip to content

Commit

Permalink
Deprecate otelcol status messages (#733)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay authored Feb 22, 2022
1 parent 462c4a5 commit 3776cac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions apis/v1alpha1/opentelemetrycollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ type OpenTelemetryCollectorStatus struct {
// Messages about actions performed by the operator on this resource.
// +optional
// +listType=atomic
// Deprecated: use Kubernetes events instead.
Messages []string `json:"messages,omitempty"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2555,8 +2555,8 @@ spec:
OpenTelemetryCollector.
properties:
messages:
description: Messages about actions performed by the operator on this
resource.
description: 'Messages about actions performed by the operator on
this resource. Deprecated: use Kubernetes events instead.'
items:
type: string
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2553,8 +2553,8 @@ spec:
OpenTelemetryCollector.
properties:
messages:
description: Messages about actions performed by the operator on this
resource.
description: 'Messages about actions performed by the operator on
this resource. Deprecated: use Kubernetes events instead.'
items:
type: string
type: array
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6099,7 +6099,7 @@ OpenTelemetryCollectorStatus defines the observed state of OpenTelemetryCollecto
<td><b>messages</b></td>
<td>[]string</td>
<td>
Messages about actions performed by the operator on this resource.<br/>
Messages about actions performed by the operator on this resource. Deprecated: use Kubernetes events instead.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down

0 comments on commit 3776cac

Please sign in to comment.