-
Notifications
You must be signed in to change notification settings - Fork 187
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
RFC-0005: introduction of Digest and change of Revision format #1001
Commits on Feb 10, 2023
-
api: introduce
Digest
field toArtifact
As discussed in RFC-0005, this introduces a `Digest` field to the `Artifact` in favor of the now deprecated `Checksum`. Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 964b2d3 - Browse repository at this point
Copy the full SHA 964b2d3View commit details
Commits on Feb 14, 2023
-
storage: calculate
Digest
forArtifact
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e0a6f1 - Browse repository at this point
Copy the full SHA 6e0a6f1View commit details -
reconcilers: include artifact digest in event meta
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a72badf - Browse repository at this point
Copy the full SHA a72badfView commit details -
digest: register SHA1 digest algorithm
This algorithm is used by Git commit SHAs, and opens up the digest API to work with these references. Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4eae19 - Browse repository at this point
Copy the full SHA f4eae19View commit details -
controllers: use digest for Bucket revision
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83b6fdc - Browse repository at this point
Copy the full SHA 83b6fdcView commit details -
controllers: use RFC-0005 format for Git revision
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe8bc43 - Browse repository at this point
Copy the full SHA fe8bc43View commit details -
controllers: make HelmChart compat with RFC-0005
This ensures the revision is correctly parsed for `Bucket` and `GitRepository` sources from which a chart is built, either in the legacy or new RFC-0005 format. Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b89b049 - Browse repository at this point
Copy the full SHA b89b049View commit details -
helm: use digest lib for checksum calculation
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 909ece4 - Browse repository at this point
Copy the full SHA 909ece4View commit details -
controllers: make OCIRepository compat with RFC-0005
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 469c938 - Browse repository at this point
Copy the full SHA 469c938View commit details -
api: introduce TransformLegacyRevision helper
This allows consumers to better handle the transition to the new RFC-0005 format ("/" -> "@" separation). Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eaa4a4f - Browse repository at this point
Copy the full SHA eaa4a4fView commit details -
controllers: use TransformLegacyRevision helper
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f00aeae - Browse repository at this point
Copy the full SHA f00aeaeView commit details -
controllers: RFC-0005 fmt for HelmRepository rev
This includes changes to the `ChartRepository`, to allow calculating the revision and digest and tidy things. In addition, the responsibility of caching the `IndexFile` has been moved to the reconcilers. As this allowed to remove a lot of complexities within the `ChartRepository`, and prevented passing on the cache in general. Change `HelmRepository`'s Revision to digest Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0aaeeee - Browse repository at this point
Copy the full SHA 0aaeeeeView commit details -
Allow config using
--artifact-digest-algo
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccad359 - Browse repository at this point
Copy the full SHA ccad359View commit details -
spec: show RFC-0005 format and digest in examples
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb4a38e - Browse repository at this point
Copy the full SHA eb4a38eView commit details -
misc: order imports and align digest aliases
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d62f4dc - Browse repository at this point
Copy the full SHA d62f4dcView commit details -
Use Artifact.Path for HelmRepository index cache
Resolving it to a local path does not make it more unique, while resulting in longer keys and a lot of safejoin calls. Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f53bfd1 - Browse repository at this point
Copy the full SHA f53bfd1View commit details -
Use MetaDigestKey from event API
Signed-off-by: Hidde Beydals <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9283894 - Browse repository at this point
Copy the full SHA 9283894View commit details