Skip to content

Commit

Permalink
Revise field description
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Utley <jutley@hiya.com>
  • Loading branch information
jutley committed Mar 25, 2022
1 parent 05ebb8e commit 9c61f19
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 25 deletions.
4 changes: 2 additions & 2 deletions apis/v1alpha1/opentelemetrycollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ type OpenTelemetryCollectorSpec struct {
Resources v1.ResourceRequirements `json:"resources,omitempty"`

// Toleration to schedule OpenTelemetry Collector pods.
// This is only relevant to daemonsets, statefulsets and deployments
// This is only relevant to daemonset, statefulset, and deployment mode
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`

// NodeSelector to schedule OpenTelemetry Collector pods.
// This is only relevant to daemonsets, statefulsets and deployments
// This is only relevant to daemonset, statefulset, and deployment mode
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,7 @@ spec:
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
<<<<<<< HEAD
<<<<<<< HEAD
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.47.0
=======
image: ghcr.io/jutley/opentelemetry-operator/opentelemetry-operator:0.46.0-13-g4a3699a
>>>>>>> c426cd0 (Run make bundle)
=======
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.46.0
>>>>>>> 77029c2 (More automated changes after 'make test')
image: ghcr.io/jutley/opentelemetry-operator/opentelemetry-operator:0.47.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -397,15 +389,7 @@ spec:
maturity: alpha
provider:
name: OpenTelemetry Community
<<<<<<< HEAD
<<<<<<< HEAD
version: 0.47.0
=======
version: 0.46.0-13-g4a3699a
>>>>>>> c426cd0 (Run make bundle)
=======
version: 0.46.0
>>>>>>> 77029c2 (More automated changes after 'make test')
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ spec:
additionalProperties:
type: string
description: NodeSelector to schedule OpenTelemetry Collector pods.
This is only relevant to daemonsets, statefulsets and deployments
This is only relevant to daemonset, statefulset, and deployment
mode
type: object
podAnnotations:
additionalProperties:
Expand Down Expand Up @@ -682,7 +683,8 @@ spec:
type: object
tolerations:
description: Toleration to schedule OpenTelemetry Collector pods.
This is only relevant to daemonsets, statefulsets and deployments
This is only relevant to daemonset, statefulset, and deployment
mode
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ spec:
additionalProperties:
type: string
description: NodeSelector to schedule OpenTelemetry Collector pods.
This is only relevant to daemonsets, statefulsets and deployments
This is only relevant to daemonset, statefulset, and deployment
mode
type: object
podAnnotations:
additionalProperties:
Expand Down Expand Up @@ -680,7 +681,8 @@ spec:
type: object
tolerations:
description: Toleration to schedule OpenTelemetry Collector pods.
This is only relevant to daemonsets, statefulsets and deployments
This is only relevant to daemonset, statefulset, and deployment
mode
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
<td><b>nodeSelector</b></td>
<td>map[string]string</td>
<td>
NodeSelector to schedule OpenTelemetry Collector pods. This is only relevant to daemonsets, statefulsets and deployments<br/>
NodeSelector to schedule OpenTelemetry Collector pods. This is only relevant to daemonset, statefulset, and deployment mode<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -1533,7 +1533,7 @@ OpenTelemetryCollectorSpec defines the desired state of OpenTelemetryCollector.
<td><b><a href="#opentelemetrycollectorspectolerationsindex">tolerations</a></b></td>
<td>[]object</td>
<td>
Toleration to schedule OpenTelemetry Collector pods. This is only relevant to daemonsets, statefulsets and deployments<br/>
Toleration to schedule OpenTelemetry Collector pods. This is only relevant to daemonset, statefulset, and deployment mode<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down

0 comments on commit 9c61f19

Please sign in to comment.