Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end of standard support dates for all kubernetes versions above 1.28 #4174

Merged
merged 3 commits into from
Dec 31, 2024
Merged
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
4 changes: 4 additions & 0 deletions EKSD_LATEST_RELEASES
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@ releases:
- branch: 1-28
kubeVersion: v1.28.15
number: 38
endOfStandardSupport: "2024-12-31"
- branch: 1-29
kubeVersion: v1.29.11
number: 27
endOfStandardSupport: "2025-04-30"
- branch: 1-30
kubeVersion: v1.30.7
number: 20
endOfStandardSupport: "2025-08-31"
- branch: 1-31
kubeVersion: v1.31.3
number: 9
endOfStandardSupport: "2025-12-31"
7 changes: 5 additions & 2 deletions tools/version-tracker/pkg/commands/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -652,10 +652,13 @@ func updateUpstreamProjectsTrackerFile(projectsList *types.ProjectsList, buildTo
}
b.Write([]byte("\n"))

// Create a new YAML encoder with an appropriate indentation value and encode the project list into a byte buufer
// Create a new YAML encoder with an appropriate indentation value and encode the project list into a byte buffer
yamlEncoder := goyamlv3.NewEncoder(&b)
yamlEncoder.SetIndent(2)
yamlEncoder.Encode(&projectsList)
err = yamlEncoder.Encode(&projectsList)
if err != nil {
return fmt.Errorf("encoding the project list into a byte buffer: %v", err)
}

err = os.WriteFile(upstreamProjectsTrackerFilePath, b.Bytes(), 0o644)
if err != nil {
Expand Down
9 changes: 5 additions & 4 deletions tools/version-tracker/pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ type ImageMetadata struct {
}

type EKSDistroRelease struct {
Branch string `json:"branch"`
KubeVersion string `json:"kubeVersion"`
Number int `json:"number"`
Dev *bool `json:"dev,omitempty"`
Branch string `json:"branch"`
KubeVersion string `json:"kubeVersion"`
Number int `json:"number"`
Dev *bool `json:"dev,omitempty"`
EndOfStandardSupport string `json:"endOfStandardSupport,omitempty"`
}

type EKSDistroLatestReleases struct {
Expand Down