Skip to content
Draft
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 machineconfiguration/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -811,10 +811,17 @@ type KubeletConfigCondition struct {
type KubeletConfigStatusConditionType string

const (
// KubeletConfigAccepted designates whether a KubeletConfig CR has been accepted.
// When the condition status is True, the KubeletConfig has been accepted successfully.
// When the condition status is False, the KubeletConfig has not been accepted.
KubeletConfigAccepted KubeletConfigStatusConditionType = "Accepted"

// KubeletConfigSuccess designates a successful application of a KubeletConfig CR.
// Deprecated: Use KubeletConfigAccepted instead. KubeletConfigSuccess will be removed in a future release.
KubeletConfigSuccess KubeletConfigStatusConditionType = "Success"

// KubeletConfigFailure designates a failure applying a KubeletConfig CR.
// Deprecated: Use KubeletConfigAccepted with status False instead. KubeletConfigFailure will be removed in a future release.
KubeletConfigFailure KubeletConfigStatusConditionType = "Failure"
)

Expand Down