chore: Zot 개발 이미지 보존 정책 추가 - #2
Draft
Whale0928 wants to merge 1 commit into
Draft
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경 사항
bottlenote-product-api의product_<7자리 SHA>태그는 최근 push 5개만 보존하도록 retention 정책을 추가했습니다.bottlenote-admin-api의admin_<7자리 SHA>태그도 동일하게 최근 5개만 보존하도록 설정했습니다.적용 안전장치
dryRun: true이므로 이 PR이 병합돼도 실제 태그나 blob은 삭제되지 않습니다.module=retention,decision=keep|delete,dry-run=true결과를 확인한 후 실제 활성화는 별도 변경으로 진행합니다.검증
kustomize build --enable-alpha-plugins --enable-exec platform/container-registry통과ghcr.io/project-zot/zot-linux-amd64:v2.1.11의zot verify통과zot verify-feature retention에서 정책 인식, scheduler 등록 및 retention check 완료 확인git diff --check통과