Skip to content

Commit

Permalink
OCM-11393 & OSD-25124: generic conditions for version gates
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikokolas3270 committed Oct 17, 2024
1 parent 07e727e commit 1278cc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion model/clusters_mgmt/v1/version_gate_type.model
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ class VersionGate {
// DocumentationURL is the URL for the documentation of the version gate.
DocumentationURL String

// STSOnly indicates if this version gate is for STS clusters only
// STSOnly indicates if this version gate is for STS clusters only,
// deprecated: to be replaced with ClusterCondition
STSOnly Boolean

// ClusterCondition aims at selecting the clusters targeted by this version gate,
// ignored if STSOnly is true
ClusterCondition String

// CreationTimestamp is the date and time when the version gate was created,
// format defined in https://www.ietf.org/rfc/rfc3339.txt[RC3339].
CreationTimestamp Date
Expand Down

0 comments on commit 1278cc3

Please sign in to comment.