forked from nephio-project/porch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #630 - stop PackageRevision updates from changing creationTimes…
…tamp - wired CreationTimestamp in from underlying PackageRev CR when getting a PackageRevision together from Git - as mentioned as an option in old comment kptdev/kpt#3992 (comment) - and same in OCI implementation for consistency's sake - previous implementation got CreationTimestamp from 'updated' attribute which is got from the creation timestamp of the latest commit to the branch in Git, and so kept changing - underlying PackageRev CR is a Kubernetes object and has a static creationTimestamp - wired PackageRev details/ObjectMeta data into PackageRevision returned from update-package-resources flow - was previously just empty values with a zero timestamp - which broke a test once the creationTimestamp fix was applied nephio-project/nephio#630
- Loading branch information
1 parent
1d6ba30
commit ab8911b
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters