You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-architecture/4330-compatibility-versions/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,8 +331,8 @@ is added in 1.29, the feature developer is expected to gate the functionality by
331
331
E.g.:
332
332
333
333
```go
334
-
if feature_gate.Enabled(FeatureA) && feature_gate.StabilityVersion(FeatureA) == "1.28" {implementation 1}
335
-
if feature_gate.Enabled(FeatureA) && feature_gate.StabilityVersion(FeatureA) == "1.29" {implementation 2}
334
+
if feature_gate.Enabled(FeatureA) && feature_gate.CompatibilityVersion() <= "1.28" {implementation 1}
335
+
if feature_gate.Enabled(FeatureA) && feature_gate.CompatibilityVersion() >= "1.29" {implementation 2}
336
336
```
337
337
338
338
### CEL Environment Compatibility Versioning
@@ -529,10 +529,10 @@ Alpha feature introduced|-|off-by-default|feature does not exist, feature gate m
529
529
Alpha feature graduated to Beta|off-by-default|on-by-default|feature enabled only when `--feature-gates=<feature>=true`|feature enabled unless `--feature-gates=<feature>=false`
530
530
Beta feature graduated to GA|on-by-default|on|feature enabled unless `--feature-gates=<feature>=false`|feature always enabled, feature gate may not be set
531
531
Beta feature removed|on-by-default|-|feature enabled unless `--feature-gates=<feature>=false`|feature does not exist
532
-
Alpha API introduced|-|off-by-default|feature does not exist, feature gate may not be set|API available only when `--runtime-config=api/<api>=true`
533
-
Beta API graduated to GA|off-by-default|on|API available only when `--runtime-config=api/<api>=true`|API available
534
-
Beta API removed|off-by-default|-|API available only when `--runtime-config=api/<api>=true`|API does not exist
535
-
on-by-default Beta API removed|on-by-default|-|API available unless `--runtime-config=api/<api>=false`|API does not exist
532
+
Alpha API introduced|-|off-by-default|API does not exist|API available only when `--runtime-config=api/v1alpha1=true`
533
+
Beta API graduated to GA|off-by-default|on|API available only when `--runtime-config=api/v1beta1=true`|API`api/v1` available
534
+
Beta API removed|off-by-default|-|API available only when `--runtime-config=api/v1beta1=true`|API`api/v1beta1` does not exist
535
+
on-by-default Beta API removed|on-by-default|-|API available unless `--runtime-config=api/v1beta1=false`|API`api/v1beta1` does not exist
536
536
API Storage version changed|v1beta1|v1|Resources stored as v1beta1|Resources stored as v1
537
537
new CEL function|-|function in StoredExpressions CEL environment|CEL function does not exist|Resources already containing CEL expression can be evaluated
538
538
introduced CEL function|function in StoredExpressions CEL environment|function in NewExpressions CEL environment|Resources already containing CEL expression can be evaluated|CEL expression can be written to resources and can be evaluted from storage
0 commit comments