Skip to content

Commit

Permalink
defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
matthagenbuch committed May 10, 2024
1 parent b9d4fc7 commit c06ab53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apis/v1beta1/opentelemetrycollector_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ type OpenTelemetryCollectorSpec struct {
// ConfigVersions defines the number versions to keep for the collector config. Each config version is stored in a separate ConfigMap.
// Defaults to 3. The minimum value is 1.
// +optional
// +kubebuilder:default:=3
ConfigVersions *int32 `json:"configVersions,omitempty"`
// Ingress is used to specify how OpenTelemetry Collector is exposed. This
// functionality is only available if one of the valid modes is set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5558,6 +5558,7 @@ spec:
configVersions:
format: int32
type: integer
default: 3
configmaps:
items:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5542,9 +5542,9 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
configVersions:
default: 3
format: int32
type: integer
default: 3
configmaps:
items:
properties:
Expand Down

0 comments on commit c06ab53

Please sign in to comment.