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

Make PackageRevision's metadata.uid field unique #61

Merged
merged 5 commits into from
Jun 20, 2024

Conversation

kispaljr
Copy link
Collaborator

@kispaljr kispaljr commented May 30, 2024

The .metadata.uid field of PackageRevisions are simply created from the name and revision of the package. It is not unique in the whole cluster, because it doesn't contain the name of the registry or the namespace.

Fixes nephio-project/nephio#748

Based on #57

@nephio-prow nephio-prow bot requested review from henderiw and s3wong May 30, 2024 16:38
@kispaljr kispaljr added bug Something isn't working do-not-merge/work-in-progress labels May 30, 2024
@kispaljr kispaljr requested review from tliron, johnbelamaric, liamfallon and efiacor and removed request for s3wong and henderiw May 30, 2024 16:43
@liamfallon
Copy link
Member

/retest

@kispaljr
Copy link
Collaborator Author

/retest

Copy link
Member

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

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

I downloaded this and ran the e2e tests, all worked fine.

@liamfallon
Copy link
Member

/approve
/lgtm

Copy link
Contributor

nephio-prow bot commented Jun 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kispaljr, liamfallon

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

@nephio-prow nephio-prow bot added the approved label Jun 20, 2024
@radoslawc radoslawc merged commit 31cfe8e into nephio-project:main Jun 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved bug Something isn't working lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Porch: PackageRevision metadata.uid field is not unique
3 participants