Repository navigation
make ImageSpec.ImageStreamImportMode omitempty - #3116
willkutler wants to merge 1 commit into
Conversation
Signed-off-by: Will Kutler <wkutler@redhat.com>
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
Hello @willkutler! Some important instructions when contributing to openshift/api: |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Do you have a copy of the error message that is presenting here? |
|
@willkutler: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
This was raised to me again separately yesterday. We need to also remove |
|
@JoelSpeed thanks! I have opened https://redhat.atlassian.net/browse/ROSAENG-74933 to track but not sure what labels etc it needs |
This field lacking omitEmpty produces a bug in ROSA when we need to supply a configv1.ImageSpec{}. Since this obj contains the "imageStreamImportMode" field, which is not set to omitempty and but is marked with +openshift:enable:FeatureGate=ImageStreamImportMode , so it is blocked from the CRD unless that featureGate, which is not exposed by hypershift, is enabled. So we have a mismatch where any time the registry management fields are set, we will be setting "imageStreamImportMode": "" on the hostedCluster CR - but that field does not exist in the CRD and it errors.
The field is already
omitEmptyin theImageStatusobject so setting it inImageSpecas well makes sense.