-
Notifications
You must be signed in to change notification settings - Fork 518
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
Add changes to infrastructure object to contain service endpoints and feature flag added #2078
base: master
Are you sure you want to change the base?
Changes from 6 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1519,7 +1519,14 @@ type IBMCloudServiceEndpoint struct { | |
|
||
// IBMCloudPlatformSpec holds the desired state of the IBMCloud infrastructure provider. | ||
// This only includes fields that can be modified in the cluster. | ||
type IBMCloudPlatformSpec struct{} | ||
type IBMCloudPlatformSpec struct { | ||
// ServiceEndpoints contains custom endpoints designated to | ||
// override existing defaults of IBM Cloud Services. | ||
// +listType=atomic | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Status version is a map type, why would this one be different? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. my bad, unintentionally messed that up when playing with some things - fixed |
||
// +openshift:enable:FeatureGate=DyanmicServiceEndpointIBMCloud | ||
// +optional | ||
ServiceEndpoints []IBMCloudServiceEndpoint `json:"serviceEndpoints,omitempty"` | ||
} | ||
|
||
// IBMCloudPlatformStatus holds the current status of the IBMCloud infrastructure provider. | ||
type IBMCloudPlatformStatus struct { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -442,12 +442,12 @@ var ( | |
mustRegister() | ||
|
||
FeatureGateVolumeAttributesClass = newFeatureGate("VolumeAttributesClass"). | ||
reportProblemsToJiraComponent("Storage / Kubernetes External Components"). | ||
contactPerson("dfajmon"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/3751"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
reportProblemsToJiraComponent("Storage / Kubernetes External Components"). | ||
contactPerson("dfajmon"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/3751"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateVolumeGroupSnapshot = newFeatureGate("VolumeGroupSnapshot"). | ||
reportProblemsToJiraComponent("Storage / Kubernetes External Components"). | ||
|
@@ -670,4 +670,10 @@ var ( | |
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
enhancementPR("https://github.com/openshift/enhancements/pull/1697"). | ||
mustRegister() | ||
|
||
FeatureGateDyanmicServiceEndpointIBMCloud = newFeatureGate("DyanmicServiceEndpointIBMCloud"). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You'll want to include an |
||
reportProblemsToJiraComponent("Cloud Compute / IBM Provider"). | ||
contactPerson("jared-hayes-dev"). | ||
productScope(ocpSpecific). | ||
mustRegister() | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The godoc on the status version of this field is different, shall we copy it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, fixed