Skip to content

chore: Zot 개발 이미지 보존 정책 추가 - #2

Draft
Whale0928 wants to merge 1 commit into
mainfrom
agent/zot-retention-dry-run
Draft

chore: Zot 개발 이미지 보존 정책 추가#2
Whale0928 wants to merge 1 commit into
mainfrom
agent/zot-retention-dry-run

Conversation

@Whale0928

Copy link
Copy Markdown
Owner

변경 사항

  • bottlenote-product-apiproduct_<7자리 SHA> 태그는 최근 push 5개만 보존하도록 retention 정책을 추가했습니다.
  • bottlenote-admin-apiadmin_<7자리 SHA> 태그도 동일하게 최근 5개만 보존하도록 설정했습니다.
  • release, latest, cache, Cosign 서명을 포함한 나머지 태그와 다른 저장소는 그대로 보존합니다.
  • 삭제된 이미지의 orphan referrer와 untagged manifest는 24시간 유예 후 정리 대상으로 분류합니다.

적용 안전장치

  • dryRun: true이므로 이 PR이 병합돼도 실제 태그나 blob은 삭제되지 않습니다.
  • Zot 로그에서 module=retention, decision=keep|delete, dry-run=true 결과를 확인한 후 실제 활성화는 별도 변경으로 진행합니다.

검증

  • kustomize build --enable-alpha-plugins --enable-exec platform/container-registry 통과
  • 렌더링된 ConfigMap의 내장 JSON 및 정책 값 검증 통과
  • 운영과 동일한 ghcr.io/project-zot/zot-linux-amd64:v2.1.11zot verify 통과
  • zot verify-feature retention에서 정책 인식, scheduler 등록 및 retention check 완료 확인
  • git diff --check 통과

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant