-
Notifications
You must be signed in to change notification settings - Fork 259
MGMT-22939: Fix cache key to get mustgather image #9940
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
Changes from all 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 |
|---|---|---|
|
|
@@ -45,6 +45,10 @@ type MustGatherImage struct { | |
| // OpenshiftVersion is the Major.Minor version of OpenShift that this image | ||
| // is to be associated with. | ||
| OpenshiftVersion string `json:"openshiftVersion"` | ||
| // CPUArchitecture is the CPU architecture of the image (x86_64/arm64/multi/etc). | ||
|
pastequo marked this conversation as resolved.
|
||
| // +kubebuilder:validation:Enum=x86_64;aarch64;arm64;ppc64le;s390x;multi | ||
| // +optional | ||
|
Contributor
Author
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. I didn't make it required to be backward compatible, even if I'm not convinced it makes a lot of sense
Contributor
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. Oh actually I just realized how come we didn't see many issues before about arch mismatches? Like was the architecture of a must-gather image important?
Contributor
Author
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. As far as the cache was related, we were populating the cache from those CR (without a cpu arch) and reading the cache with the cpu arch. So AFAIU the cache was never used |
||
| CPUArchitecture string `json:"cpuArchitecture"` | ||
| // Name specifies the name of the component (e.g. operator) | ||
| // that the image is used to collect information about. | ||
| Name string `json:"name"` | ||
|
|
@@ -255,8 +259,8 @@ const ( | |
|
|
||
| // AgentServiceConfigStatus defines the observed state of AgentServiceConfig | ||
| type AgentServiceConfigStatus struct { | ||
| Conditions []conditionsv1.Condition `json:"conditions,omitempty"` | ||
| ImmutableAnnotations map[string]string `json:"immutableAnnotations,omitempty"` | ||
| Conditions []conditionsv1.Condition `json:"conditions,omitempty"` | ||
| ImmutableAnnotations map[string]string `json:"immutableAnnotations,omitempty"` | ||
| } | ||
|
|
||
| // +kubebuilder:object:root=true | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.