Skip to content

Conversation

Fedosin
Copy link
Contributor

@Fedosin Fedosin commented Feb 14, 2024

What this PR does / why we need it:

When we use configmaps as a provider source, we filter them by provided labels and then take the latest version. Unfortunately, we list configmaps in all namespaces, which is not correct.

This PR restricts the search by the provider namespace only.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 14, 2024
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 14, 2024
@Fedosin
Copy link
Contributor Author

Fedosin commented Feb 14, 2024

/retest

@Fedosin Fedosin force-pushed the configmap_namespace branch from a6ca3b3 to 7c28e97 Compare February 14, 2024 18:26
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 14, 2024
@Fedosin
Copy link
Contributor Author

Fedosin commented Feb 14, 2024

/retest

@Fedosin Fedosin force-pushed the configmap_namespace branch from 7c28e97 to 3e52bcd Compare February 15, 2024 08:41
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 15, 2024
@Fedosin Fedosin force-pushed the configmap_namespace branch from 3e52bcd to 412827f Compare February 15, 2024 09:46
@Fedosin
Copy link
Contributor Author

Fedosin commented Feb 15, 2024

/retest

When we use configmaps as a provider source, we filter them by provided
labels and then take the latest version. Unfortunatelly, we list configmaps
in all namespaces, which is not correct.

This PR restricts the search by the provider namespace only.
@Fedosin Fedosin force-pushed the configmap_namespace branch from 412827f to 82d7655 Compare February 15, 2024 11:29
Copy link
Member

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

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

/lgtm
Thank you

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 15, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 0f5f930a468ebe75155a1393f6326e77f43603bd

Copy link
Contributor

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demicev

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 19, 2024
@k8s-ci-robot k8s-ci-robot merged commit 9ccc6d1 into kubernetes-sigs:main Feb 19, 2024
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants