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

Show error when Helm subscription failed to find any matching Helm chart. for deployment. #96

Merged
merged 2 commits into from
Mar 2, 2022

Conversation

mikeshng
Copy link
Member

@mikeshng mikeshng commented Mar 1, 2022

Show error when Helm subscription failed to find any matching Helm chart. for deployment.
Fix Hub dryrun by not creating a new manager each time.
Remove duplicated function that came from HelmRelease port to Subscription.

Signed-off-by: Mike Ng <ming@redhat.com>

@xiangjingli
Copy link
Collaborator

@mikeshng @rokej The fix looks even better so that we won't need to create a new manager for dry run.

Just noticed this kubeClient is created but no release at the end of the function. wonder if it needs to be released explicitly? Or not like the manager, it will be released automatically as it is local variable in the function.

We may verify this in Roke's env to double check the memory is not growing up.

@mikeshng
Copy link
Member Author

mikeshng commented Mar 1, 2022

Hi @xiangjingli Roke has agreed to run another performance test.

…art. for deployment.

Fix Hub dryrun by not creating a new manager each time.
Remove duplicated function that came from HelmRelease port to Subscription.

Signed-off-by: Mike Ng <ming@redhat.com>
@openshift-ci openshift-ci bot added the lgtm label Mar 2, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikeshng, rokej

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:

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

@openshift-merge-robot openshift-merge-robot merged commit 639f15c into open-cluster-management-io:main Mar 2, 2022
@mikeshng
Copy link
Member Author

for #134

@mikeshng mikeshng deleted the enh-helm-err-status branch April 12, 2022 13:41
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.

4 participants