Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kristof Gyuracz <kristof.gyuracz@axoflow.com>
  • Loading branch information
kristofgyuracz committed Mar 25, 2024
1 parent 2d4fe1b commit 7984af4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/telemetry/v1alpha1/collector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import (

// CollectorSpec defines the desired state of Collector
type CollectorSpec struct {
TenantSelector metav1.LabelSelector `json:"tenantSelector,omitempty"`
ControlNamespace string `json:"controlNamespace"`
Debug bool `json:"debug,omitempty"`
TenantSelector metav1.LabelSelector `json:"tenantSelector,omitempty"`
// Namespace where OTel collector DaemonSet is deployed
ControlNamespace string `json:"controlNamespace"`
// Enables debug logging for the collector
Debug bool `json:"debug,omitempty"`
}

// CollectorStatus defines the observed state of Collector
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/telemetry.kube-logging.dev_collectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ spec:
description: CollectorSpec defines the desired state of Collector
properties:
controlNamespace:
description: Namespace where OTel collector DaemonSet is deployed
type: string
debug:
description: Enables debug logging for the collector
type: boolean
tenantSelector:
description: |-
Expand Down

0 comments on commit 7984af4

Please sign in to comment.