Skip to content

Commit c589a4a

Browse files
authored
feat(k8s): add versions deprecation+eol dates (#5029)
1 parent 72cc25e commit c589a4a

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/mattn/go-isatty v0.0.20
2424
github.com/moby/buildkit v0.25.0
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001082215-b67dd3359756
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001154448-cecef1ca5fd8
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.10.1
2929
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
462462
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
463463
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
465-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001082215-b67dd3359756 h1:ImEwBb2Dh4LKeitkrFTfgLs713IDFsDQ56Or+OtB628=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001082215-b67dd3359756/go.mod h1:DVB9HV7nK7TdTRqlpdxw6T0Wxg+aB9xPBEpO3aM2iqQ=
465+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001154448-cecef1ca5fd8 h1:Ki12ftCdws9yE0GsPu+R0YblJDCLfjnul0rV+Ml0r7o=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251001154448-cecef1ca5fd8/go.mod h1:DVB9HV7nK7TdTRqlpdxw6T0Wxg+aB9xPBEpO3aM2iqQ=
467467
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
468468
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
469469
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/k8s/v1/testdata/test-get-version-simple.golden

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,7 @@ Available Admission Plugins:
7171
"registryBurst": "int32",
7272
"registryPullQPS": "int32",
7373
"serializeImagePulls": "bool"
74-
}
74+
},
75+
"deprecated_at": null,
76+
"end_of_life_at": null
7577
}

internal/namespaces/k8s/v1/testdata/test-list-version-basic-simple.golden

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ serializeImagePulls bool
9595
"registryBurst": "int32",
9696
"registryPullQPS": "int32",
9797
"serializeImagePulls": "bool"
98-
}
98+
},
99+
"deprecated_at": null,
100+
"end_of_life_at": null
99101
},
100102
{
101103
"name": "1.31.7",
@@ -134,7 +136,9 @@ serializeImagePulls bool
134136
"registryBurst": "int32",
135137
"registryPullQPS": "int32",
136138
"serializeImagePulls": "bool"
137-
}
139+
},
140+
"deprecated_at": null,
141+
"end_of_life_at": null
138142
},
139143
{
140144
"name": "1.30.11",
@@ -173,7 +177,9 @@ serializeImagePulls bool
173177
"registryBurst": "int32",
174178
"registryPullQPS": "int32",
175179
"serializeImagePulls": "bool"
176-
}
180+
},
181+
"deprecated_at": null,
182+
"end_of_life_at": null
177183
},
178184
{
179185
"name": "1.29.15",
@@ -213,6 +219,8 @@ serializeImagePulls bool
213219
"registryBurst": "int32",
214220
"registryPullQPS": "int32",
215221
"serializeImagePulls": "bool"
216-
}
222+
},
223+
"deprecated_at": null,
224+
"end_of_life_at": null
217225
}
218226
]

0 commit comments

Comments
 (0)