Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-11393 & OSD-25124: generic conditions for version gates #999

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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