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

fix: Limit list k8s objects queries to current namespace for backup and restore #1106

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Sep 30, 2021

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Narrows list for a resource kind query to search only in current namespace

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

eclipse-che/che#20563

How to test this PR?

Try to create a backup when several Che instances are present on a single cluster

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@openshift-ci
Copy link

openshift-ci bot commented Sep 30, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mmorhun, tolusha

The full list of commands accepted by this bot can be found 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

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@mmorhun mmorhun force-pushed the limit-list-namespace-for-backup-restore branch from 9d50fc4 to 203eb82 Compare September 30, 2021 14:23
@openshift-ci openshift-ci bot removed the lgtm label Sep 30, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 30, 2021

New changes are detected. LGTM label has been removed.

@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #1106 (203eb82) into main (234518e) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1106      +/-   ##
==========================================
- Coverage   54.17%   54.17%   -0.01%     
==========================================
  Files          67       67              
  Lines        8422     8423       +1     
==========================================
  Hits         4563     4563              
- Misses       3379     3380       +1     
  Partials      480      480              
Impacted Files Coverage Δ
pkg/util/util.go 13.40% <0.00%> (-0.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 234518e...203eb82. Read the comment docs.

@mmorhun mmorhun merged commit f8c3c2e into main Oct 1, 2021
@mmorhun mmorhun deleted the limit-list-namespace-for-backup-restore branch October 1, 2021 07:22
@che-bot che-bot added this to the 7.38 milestone Oct 1, 2021
@tolusha tolusha mentioned this pull request Oct 1, 2021
27 tasks
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

3 participants