Skip to content

Commit e185734

Browse files
committed
Update generated DaemonSet API documentation
Describe Agent status and workload fields only in terms of native DaemonSets, then regenerate OpenAPI definitions, CRD schemas, and configuration references. Drop the obsolete v1alpha1 DatadogAgent JSON schema that still exposed ExtendedDaemonSet fields.\n\nCONTP-1895
1 parent 46ef5b5 commit e185734

13 files changed

Lines changed: 21 additions & 11398 deletions

api/datadoghq/v1alpha1/datadogagentinternal_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type DatadogAgentInternalStatus struct {
1919
// +listType=map
2020
// +listMapKey=type
2121
Conditions []metav1.Condition `json:"conditions"`
22-
// The actual state of the Agent as a daemonset or an extended daemonset.
22+
// The actual state of the Agent as a DaemonSet.
2323
// +optional
2424
Agent *v2alpha1.DaemonSetStatus `json:"agent,omitempty"`
2525
// The actual state of the Cluster Agent as a deployment.

api/datadoghq/v1alpha1/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/datadoghq/v2alpha1/datadogagent_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ type DatadogAgentComponentOverride struct {
21732173
Name *string `json:"name,omitempty"`
21742174

21752175
// Number of the replicas.
2176-
// Not applicable for a DaemonSet/ExtendedDaemonSet deployment
2176+
// Not applicable for a DaemonSet deployment
21772177
// +optional
21782178
Replicas *int32 `json:"replicas,omitempty"`
21792179

@@ -2542,11 +2542,11 @@ type DatadogAgentStatus struct {
25422542
// +listType=map
25432543
// +listMapKey=type
25442544
Conditions []metav1.Condition `json:"conditions"`
2545-
// The actual state of the Agent as a daemonset or an extended daemonset.
2545+
// The actual state of the Agent as a DaemonSet.
25462546
// +optional
25472547
// +listType=atomic
25482548
AgentList []*DaemonSetStatus `json:"agentList,omitempty"`
2549-
// The combined actual state of all Agents as daemonsets or extended daemonsets.
2549+
// The combined actual state of all Agents as DaemonSets.
25502550
// +optional
25512551
Agent *DaemonSetStatus `json:"agent,omitempty"`
25522552
// The actual state of the Cluster Agent as a deployment.

api/datadoghq/v2alpha1/zz_generated.openapi.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/v1/datadoghq.com_datadogagentinternals.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6249,7 +6249,7 @@ spec:
62496249
replicas:
62506250
description: |-
62516251
Number of the replicas.
6252-
Not applicable for a DaemonSet/ExtendedDaemonSet deployment
6252+
Not applicable for a DaemonSet deployment
62536253
format: int32
62546254
type: integer
62556255
runtimeClassName:
@@ -8571,7 +8571,7 @@ spec:
85718571
description: DatadogAgentInternalStatus defines the observed state of DatadogAgentInternal
85728572
properties:
85738573
agent:
8574-
description: The actual state of the Agent as a daemonset or an extended daemonset.
8574+
description: The actual state of the Agent as a DaemonSet.
85758575
properties:
85768576
available:
85778577
description: Number of available pods in the DaemonSet.

config/crd/bases/v1/datadoghq.com_datadogagentinternals_v1alpha1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6302,7 +6302,7 @@
63026302
"type": "string"
63036303
},
63046304
"replicas": {
6305-
"description": "Number of the replicas.\nNot applicable for a DaemonSet/ExtendedDaemonSet deployment",
6305+
"description": "Number of the replicas.\nNot applicable for a DaemonSet deployment",
63066306
"format": "int32",
63076307
"type": "integer"
63086308
},
@@ -8205,7 +8205,7 @@
82058205
"properties": {
82068206
"agent": {
82078207
"additionalProperties": false,
8208-
"description": "The actual state of the Agent as a daemonset or an extended daemonset.",
8208+
"description": "The actual state of the Agent as a DaemonSet.",
82098209
"properties": {
82108210
"available": {
82118211
"description": "Number of available pods in the DaemonSet.",

config/crd/bases/v1/datadoghq.com_datadogagentprofiles.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6249,7 +6249,7 @@ spec:
62496249
replicas:
62506250
description: |-
62516251
Number of the replicas.
6252-
Not applicable for a DaemonSet/ExtendedDaemonSet deployment
6252+
Not applicable for a DaemonSet deployment
62536253
format: int32
62546254
type: integer
62556255
runtimeClassName:

config/crd/bases/v1/datadoghq.com_datadogagentprofiles_v1alpha1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6306,7 +6306,7 @@
63066306
"type": "string"
63076307
},
63086308
"replicas": {
6309-
"description": "Number of the replicas.\nNot applicable for a DaemonSet/ExtendedDaemonSet deployment",
6309+
"description": "Number of the replicas.\nNot applicable for a DaemonSet deployment",
63106310
"format": "int32",
63116311
"type": "integer"
63126312
},

config/crd/bases/v1/datadoghq.com_datadogagents.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6253,7 +6253,7 @@ spec:
62536253
replicas:
62546254
description: |-
62556255
Number of the replicas.
6256-
Not applicable for a DaemonSet/ExtendedDaemonSet deployment
6256+
Not applicable for a DaemonSet deployment
62576257
format: int32
62586258
type: integer
62596259
runtimeClassName:
@@ -8575,7 +8575,7 @@ spec:
85758575
description: DatadogAgentStatus defines the observed state of DatadogAgent.
85768576
properties:
85778577
agent:
8578-
description: The combined actual state of all Agents as daemonsets or extended daemonsets.
8578+
description: The combined actual state of all Agents as DaemonSets.
85798579
properties:
85808580
available:
85818581
description: Number of available pods in the DaemonSet.
@@ -8621,7 +8621,7 @@ spec:
86218621
- upToDate
86228622
type: object
86238623
agentList:
8624-
description: The actual state of the Agent as a daemonset or an extended daemonset.
8624+
description: The actual state of the Agent as a DaemonSet.
86258625
items:
86268626
description: DaemonSetStatus defines the observed state of Agent running as DaemonSet.
86278627
properties:

0 commit comments

Comments
 (0)