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

Add source and revision metadata to artifacts #76

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

stefanprodan
Copy link
Owner

Allow specifying the Git source URL and revision when publishing artifacts with kustomizer push artifact --source --revision.

The Git metadata is stored in the OCI artifact manifests as annotations:

  • org.opencontainers.image.source: <GIT-URL>
  • org.opencontainers.image.revision: <GIT-BRANCH|TAG>/<GIT-SHA>

The Open Containers annotations make the OCI artifacts produced by Kustomizer compatible with Flux v2.

Allow specifying the Git source URL and revision when publishing artifacts
with `kustomizer push artifact --source --revision`. The Git metadata
is stored in the OCI artifact manifests as annotations:
- `org.opencontainers.image.source: <GIT-URL>`
- `org.opencontainers.image.revision: <GIT-BRANCH|TAG>/<GIT-SHA>`

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added enhancement New feature or request area/artifact OCI Artifact related issues and pull requests labels Sep 2, 2022
@stefanprodan stefanprodan merged commit dbc30f3 into main Sep 2, 2022
@stefanprodan stefanprodan deleted the opencontainers-annotations branch September 2, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifact OCI Artifact related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant