Skip to content

Commit

Permalink
Merge pull request openshift#1696 from dkhater-redhat/featuregate-ocb
Browse files Browse the repository at this point in the history
Added Feature Gate for On Cluster Build

Signed-off-by: Charlie Doern <[email protected]>
  • Loading branch information
openshift-merge-bot[bot] authored and cdoern committed Dec 7, 2023
2 parents f356bd9 + 5e80bab commit d389d74
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/v1/feature_gates.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,17 @@ var (
OwningProduct: kubernetes,
}


FeatureGateOnClusterBuild = FeatureGateName("OnClusterBuild")
onClusterBuild = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Name: FeatureGateOnClusterBuild,
},
OwningJiraComponent: "MachineConfigOperator",
ResponsiblePerson: "dkhater",
OwningProduct: ocpSpecific,
}

FeatureGateSignatureStores = FeatureGateName("SignatureStores")
signatureStores = FeatureGateDescription{
FeatureGateAttributes: FeatureGateAttributes{
Expand Down
1 change: 1 addition & 0 deletions config/v1/types_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
with(mixedCPUsAllocation).
with(managedBootImages).
without(disableKubeletCloudCredentialProviders).
with(onClusterBuild).
with(signatureStores).
toFeatures(defaultFeatures),
LatencySensitive: newDefaultFeatures().
Expand Down
2 changes: 2 additions & 0 deletions machineconfiguration/v1alpha1/types_machineconfignode.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ const (
MachineConfigNodeUpdateFilesAndOS StateProgress = "AppliedFilesAndOS"
// MachineConfigNodeUpdateCordoned describes the part of the completing phase where the node cordons
MachineConfigNodeUpdateCordoned StateProgress = "Cordoned"
// MachineConfigNodeUpdateUncordoned describes the part of the completing phase where the node uncordons
MachineConfigNodeUpdateUncordoned StateProgress = "Uncordoned"
// MachineConfigNodeUpdateRebooted describes the part of the post action phase where the node reboots itself
MachineConfigNodeUpdateRebooted StateProgress = "RebootedNode"
// MachineConfigNodeUpdateReloaded describes the part of the post action phase where the node reloads its CRIO service
Expand Down

0 comments on commit d389d74

Please sign in to comment.