Skip to content
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

[openshift_resource] raise KeyError when adding an item #1880

Merged
merged 2 commits into from Oct 6, 2021

Conversation

maorfr
Copy link
Contributor

@maorfr maorfr commented Sep 29, 2021

related to https://issues.redhat.com/browse/APPSRE-3668

attempts to replace #1868 (which reverts a revert of #1851).
re-adds functionality which was lost in #1232.

when a KeyError is raised, it means that the resource kind that is referenced from a namespace file under openshiftResources is not mentioned in managedResourceTypes.

the only integrations which takes the managedResourceTypes into account is openshift-resources.

release candidate tested in https://gitlab.cee.redhat.com/service/app-interface/-/merge_requests/26164 (make rc)

@maorfr
Copy link
Contributor Author

maorfr commented Oct 5, 2021

@Piojo how would you like to proceed?

@Piojo
Copy link
Contributor

Piojo commented Oct 5, 2021

I'll have to insist on #1868, I gave the full details in our slack thread: https://coreos.slack.com/archives/GGC2A0MS8/p1632895377320900 .

Also, for the new #1892 - it calls init_specs_to_fetch but doesn't do much around ri.add_desired - it benefits from the changes on the other implementation as well.

@maorfr
Copy link
Contributor Author

maorfr commented Oct 6, 2021

agreed on the same slack thread to merge this one and split the other changes to separate PRs

@maorfr maorfr merged commit 747242e into app-sre:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants