Skip to content

Commit eed7576

Browse files
authored
Merge pull request #999 from Nikokolas3270/OCM-11393
OCM-11393 & OSD-25124: generic conditions for version gates
2 parents 7162175 + 1278cc3 commit eed7576

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

model/clusters_mgmt/v1/version_gate_type.model

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ class VersionGate {
3434
// DocumentationURL is the URL for the documentation of the version gate.
3535
DocumentationURL String
3636

37-
// STSOnly indicates if this version gate is for STS clusters only
37+
// STSOnly indicates if this version gate is for STS clusters only,
38+
// deprecated: to be replaced with ClusterCondition
3839
STSOnly Boolean
3940

41+
// ClusterCondition aims at selecting the clusters targeted by this version gate,
42+
// ignored if STSOnly is true
43+
ClusterCondition String
44+
4045
// CreationTimestamp is the date and time when the version gate was created,
4146
// format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].
4247
CreationTimestamp Date

0 commit comments

Comments
 (0)