Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions controller/deploy/operator/api/v1alpha1/jumpstarter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ type RoutersConfig struct {
// +kubebuilder:validation:Minimum=1
Replicas int32 `json:"replicas,omitempty"`

// Custom annotations to add to router pod templates.
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`

// Topology spread constraints for router pod distribution.
// Ensures router pods are distributed evenly across nodes and zones.
// Useful for high availability and fault tolerance.
Expand Down Expand Up @@ -333,6 +336,9 @@ type ControllerConfig struct {
// +kubebuilder:validation:Minimum=1
Replicas int32 `json:"replicas,omitempty"`

// Custom annotations to add to controller pod templates.
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`

// Exporter options configuration.
// Controls how exporters connect and behave when communicating with the controller.
ExporterOptions ExporterOptions `json:"exporterOptions,omitempty"`
Expand Down
14 changes: 14 additions & 0 deletions controller/deploy/operator/api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,11 @@ spec:
type: string
type: object
type: object
podAnnotations:
additionalProperties:
type: string
description: Custom annotations to add to controller pod templates.
type: object
replicas:
default: 2
description: |-
Expand Down Expand Up @@ -1833,6 +1838,11 @@ spec:
- IfNotPresent
- Never
type: string
podAnnotations:
additionalProperties:
type: string
description: Custom annotations to add to router pod templates.
type: object
replicas:
default: 3
description: |-
Expand Down
Loading
Loading