feat(deploy): add hardened Kubernetes reference deployment - #79
feat(deploy): add hardened Kubernetes reference deployment#79seonghobae wants to merge 9 commits into
Conversation
📝 WalkthroughWalkthroughKubernetes People API 참조 배포 매니페스트, 보안·네트워크 계약 테스트, 운영 문서와 추적성 문서를 추가했습니다. 고정 커밋에서 이를 실행하는 GitHub Actions 품질 워크플로와 필수 파일·매니페스트 검증 항목도 추가했습니다. ChangesKubernetes 참조 배포
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: 🔵 Low · up to The deployment reference is otherwise mergeable, but its manifest and validation metadata identify the wrong source branch, which can weaken traceability and allow incorrect provenance information to pass checks. Update both values together before merging. Sequence Diagram(s)sequenceDiagram
participant Workflow as GitHub Actions Workflow
participant Git as Git Checkout
participant Tests as Kubernetes Contract Tests
participant Validator as Repository Validator
Workflow->>Git: 후보 커밋의 고정 SHA 체크아웃
Git-->>Workflow: 실제 HEAD SHA 반환
Workflow->>Tests: Node.js 24에서 Kubernetes 참조 테스트 실행
Tests-->>Workflow: 계약 테스트 결과 반환
Workflow->>Validator: npm run validate 실행
Validator-->>Workflow: 필수 파일 및 저장소 검증 결과 반환
Workflow->>Git: diff 및 porcelain 상태 검사
Git-->>Workflow: 깨끗한 작업 트리 상태 반환
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 3 files. (6 skipped: 6 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3 similar comments
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Caution Review failedAn error occurred during the review process. Please try again later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@opencode-agent Please review the current unchanged head against protected |
…rity Add the quality workflow, README, manifest, doctoring, traceability and test files to both the Python and Node required-artifact sets and reseal manifest.json so their digests are validated by npm run validate. Complements the concurrent probe/scratch repair on this branch; resolves the remaining Devin observation on PR #79.
generated_for_branch recorded a predecessor lane; the manifest and both validator expectations now name feat/kubernetes-reference-deployment so provenance metadata matches the live PR origin.
Scope
Adds an Orgmetra-only hardened Kubernetes reference for the People API. It is deployment intent, not a published image, live cluster change, release authorization, or cross-service database access.
Current exact-head evidence
3f8a2826396aceb51fb78e14bf12dde713f99b0cdevelop@9e3e4847510e1e612b48474ba42b177b8ed824dfnpm run validatepassed foundation validation plus 55 Node tests;git diff --checkpassed.Devin Reviewsuccessful/completed andCodeRabbitsuccessful with review rate limited.mergeable_state=blocked.Assurance boundary
The reference uses restricted-intent pod settings, non-root execution, read-only root filesystem with
/tmpscratch, separate health probes, bounded resources/disruption, default-deny networking, explicit probe-source and service flows, and immutable image-digest intent. The image remains a deliberate sentinel requiring operator replacement with a verified digest. Target-cluster admission/dry-run, registry/secret delivery, TLS/metrics/SLOs, migration/rollback/recovery, and final release authorization remain separate controls.Ready-for-review and GREEN checks do not authorize merge. Keep this PR unmerged until qualifying independent approval and all live protected rules are satisfied; never self-approve, bypass protection, or reuse predecessor evidence.