Skip to content

Conversation

@deads2k
Copy link
Contributor

@deads2k deads2k commented May 1, 2023

/hold

This would require that manifests be consistent with each other. They should be already given random retries, but this is a choice.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 1, 2023
@openshift-ci openshift-ci bot requested review from soltysh and sttts May 1, 2023 20:09
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 1, 2023
Copy link
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here will 100% block users from using CustomNoUpgrade manifests at install time, I think that's in keeping with other changes we are making, but we should make sure that we allow this in the future, I know various CI jobs still use the custom manifests, but perhaps not via install-time.

Will take a look at the release repo to verify

return ret
}

func (renderedManifests RenderedManifests) GetManifest(gvk schema.GroupVersionKind, namespace, name string) *RenderedManifest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this return a pointer when previously we were returning a fresh slice of the objects? Does it need to be a pointer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this return a pointer when previously we were returning a fresh slice of the objects? Does it need to be a pointer?

nil, versus error on missing. I'll yield to your preference.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would go for an error and return the errors we find along the way as well, if an operator chooses to ignore the error, thats on them to decide how to handle it, but if they require the manifest, including as much error detail in the return seems useful IMO

@deads2k deads2k force-pushed the rendered-manifest-reader branch from 3505704 to f78b491 Compare May 2, 2023 12:29
Copy link
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 2, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, JoelSpeed

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 2, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 2, 2023

@deads2k: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions 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/test-infra repository. I understand the commands that are listed here.

@deads2k
Copy link
Contributor Author

deads2k commented May 2, 2023

proof worked

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 2, 2023
@openshift-merge-robot openshift-merge-robot merged commit e45be83 into openshift:master May 2, 2023
@deads2k deads2k changed the title make reading rendered manifests easier OCPBUGS-13547: make reading rendered manifests easier May 16, 2023
@openshift-ci-robot
Copy link

@deads2k: Jira Issue OCPBUGS-13547: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-13547 has not been moved to the MODIFIED state.

Details

In response to this:

/hold

This would require that manifests be consistent with each other. They should be already given random retries, but this is a choice.

Instructions 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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants