Skip to content

Commit cecef1c

Browse files
authored
feat(k8s): add versions deprecation+eol dates (scaleway#2744)
1 parent 796b67e commit cecef1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/k8s/v1/k8s_sdk.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,12 @@ type Version struct {
11381138

11391139
// AvailableKubeletArgs: supported kubelet arguments for this version.
11401140
AvailableKubeletArgs map[string]string `json:"available_kubelet_args"`
1141+
1142+
// DeprecatedAt: date from which this version will no longer be available for provisioning.
1143+
DeprecatedAt *time.Time `json:"deprecated_at"`
1144+
1145+
// EndOfLifeAt: date from which any remaining clusters on this version will begin to be forcibly upgraded to the next minor version.
1146+
EndOfLifeAt *time.Time `json:"end_of_life_at"`
11411147
}
11421148

11431149
// Cluster: cluster.

0 commit comments

Comments
 (0)