Skip to content
Open
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
7 changes: 7 additions & 0 deletions openapi/generated_openapi/zz_generated.openapi.go

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

4 changes: 4 additions & 0 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -35830,6 +35830,10 @@
"type": "string",
"default": ""
},
"nodeUID": {
Comment thread
bhperry marked this conversation as resolved.
"description": "nodeUID is the UID of the node. This field is used to detect that a node has been deleted and recreated with the same name. When the UID changes, it indicates the node is a new instance and the controller should treat this status entry as stale. When omitted, UID-based node replacement detection is not available for this entry.",
"type": "string"
},
"targetRevision": {
"description": "targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.",
"type": "integer",
Expand Down
12 changes: 12 additions & 0 deletions operator/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,18 @@ type NodeStatus struct {
// +required
NodeName string `json:"nodeName"`

// nodeUID is the UID of the node.
Comment thread
bhperry marked this conversation as resolved.
// This field is used to detect that a node has been deleted and recreated
// with the same name. When the UID changes, it indicates the node is a
// new instance and the controller should treat this status entry as stale.
// When omitted, UID-based node replacement detection is not available
// for this entry.
// +kubebuilder:validation:MinLength=36
// +kubebuilder:validation:MaxLength=36
// +kubebuilder:validation:Format=uuid
// +optional
NodeUID string `json:"nodeUID,omitempty"`

// currentRevision is the generation of the most recently successful deployment.
// Can not be set on creation of a nodeStatus. Updates must only increase the value.
// +kubebuilder:validation:XValidation:rule="self >= oldSelf",message="must only increase"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,18 @@ spec:
nodeName:
description: nodeName is the name of the node
type: string
nodeUID:
description: |-
nodeUID is the UID of the node.
This field is used to detect that a node has been deleted and recreated
with the same name. When the UID changes, it indicates the node is a
new instance and the controller should treat this status entry as stale.
When omitted, UID-based node replacement detection is not available
for this entry.
format: uuid
maxLength: 36
minLength: 36
type: string
targetRevision:
description: |-
targetRevision is the generation of the deployment we're trying to apply.
Expand Down
Loading