WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@JustinKuli
Copy link
Member

Previously, if the pacakagemanifest was missing, perhaps due to the operator no longer being available in the catalog, the operator policy would be marked as invalid, and not report on the potentially helpful status of the subscription. Now the existing subscription can be used for the default values, and a more helpful status can be reported.

Refs:

Previously, if the pacakagemanifest was missing, perhaps due to the
operator no longer being available in the catalog, the operator policy
would be marked as invalid, and not report on the potentially helpful
status of the subscription. Now the existing subscription can be used
for the default values, and a more helpful status can be reported.

Refs:
 - https://issues.redhat.com/browse/ACM-14617

Signed-off-by: Justin Kulikauskas <[email protected]>
@JustinKuli JustinKuli force-pushed the 14617-adopt-more-subscriptions branch from 729db68 to 56dc174 Compare October 31, 2024 18:19
"%wthe subscription defaults could not be determined because the PackageManifest was not found",
ErrPackageManifest,
)
if !r.usingExistingSubIfFound(policy, subscription) {
Copy link
Contributor

@yiraeChristineKim yiraeChristineKim Oct 31, 2024

Choose a reason for hiding this comment

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

Do we have any status change for usingExistingSubIfFound? such as message

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't make a special status directly, it just allows the policy to be considered valid so that the status of the subscription can be updated (an invalid policy doesn't update the other conditions). The subscription status will have more information in some cases, for example explaining that the operator is not available in a catalog.

@openshift-ci
Copy link

openshift-ci bot commented Oct 31, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JustinKuli, yiraeChristineKim

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [JustinKuli,yiraeChristineKim]

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

@openshift-merge-bot openshift-merge-bot bot merged commit f2a42b5 into open-cluster-management-io:main Oct 31, 2024
13 checks passed
@JustinKuli JustinKuli deleted the 14617-adopt-more-subscriptions branch June 12, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants