Skip to content

Commit

Permalink
[profiles] Update UpdateStrategy description (#1413)
Browse files Browse the repository at this point in the history
* Clarify update strategy description

* Fix autogenerated files
  • Loading branch information
khewonc authored Sep 12, 2024
1 parent 2a7b83c commit 2889617
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/datadoghq/v1alpha1/datadogagentprofile_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type ProfileAffinity struct {
}

type Config struct {
// Override the default configurations of the node agent.
Override map[ComponentName]*Override `json:"override,omitempty"`
}

Expand All @@ -54,6 +55,7 @@ type Override struct {
PriorityClassName *string `json:"priorityClassName,omitempty"`

// The deployment strategy to use to replace existing pods with new ones.
// Valid types are `RollingUpdate` or `OnDelete` for DaemonSets
// +optional
UpdateStrategy *commonv1.UpdateStrategy `json:"updateStrategy,omitempty"`

Expand Down
5 changes: 4 additions & 1 deletion config/crd/bases/v1/datadoghq.com_datadogagentprofiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ spec:
default.
type: string
updateStrategy:
description: The deployment strategy to use to replace existing pods with new ones.
description: |-
The deployment strategy to use to replace existing pods with new ones.
Valid types are `RollingUpdate` or `OnDelete` for DaemonSets
properties:
rollingUpdate:
description: Configure the rolling update strategy of the Deployment or DaemonSet.
Expand Down Expand Up @@ -275,6 +277,7 @@ spec:
type: string
type: object
type: object
description: Override the default configurations of the node agent.
type: object
type: object
profileAffinity:
Expand Down

0 comments on commit 2889617

Please sign in to comment.