mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
DRA CEL: properly define IntroducedVersion
Using 1.0 was a workaround to grant Kubernetes 1.31 access to things introduce in that same release. In Kubernetes 1.32 we don't need that workaround anymore because everything is still available after a downgrade and thus usable.
This commit is contained in:
parent
ea51d975fc
commit
63a7865736
@ -261,12 +261,7 @@ func mustBuildEnv() *environment.EnvSet {
|
||||
|
||||
versioned := []environment.VersionedOptions{
|
||||
{
|
||||
// Feature epoch was actually 1.31, but we artificially set it to 1.0 because these
|
||||
// options should always be present.
|
||||
//
|
||||
// TODO (https://github.com/kubernetes/kubernetes/issues/123687): set this
|
||||
// version properly before going to beta.
|
||||
IntroducedVersion: version.MajorMinor(1, 0),
|
||||
IntroducedVersion: version.MajorMinor(1, 31),
|
||||
EnvOptions: []cel.EnvOption{
|
||||
cel.Variable(deviceVar, deviceType.CelType()),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user