refactor: 문서 개선 중

This commit is contained in:
donghyeon-ka
2026-09-21 14:30:55 +09:00
parent c93cdea150
commit 805a18f486
1497 changed files with 525837 additions and 59152 deletions
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="388" viewBox="0 0 680 388" role="img" aria-labelledby="diagram-title diagram-description">
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="312" viewBox="0 0 680 312" role="img" aria-labelledby="diagram-title diagram-description">
<title id="diagram-title">base64 는 암호화가 아니다</title>
<desc id="diagram-description">kubectl get secret -o yaml 이 보여주는 base64 는 인코딩이지 암호화가 아니다. etcd 에 평문으로 있다. 그리고 파드 안에서 env 를 grep 하면 그대로 나온다. 값을 Secret 에 넣었다는 것과 값이 가려졌다는 것은 다른 사건이다.</desc>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;d3-secret-exposure&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;D-3 · 비밀&quot;,&quot;line&quot;:504}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;d3-secret-exposure&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;D-3 · 비밀&quot;,&quot;line&quot;:1015}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" />
@@ -49,27 +49,27 @@
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
</style>
</defs>
<rect class="canvas" width="680" height="388" />
<polyline class="edge kind-write style-solid emphasis-normal" points="253.0,157.0 253.0,205.0 145.0,205.0 145.0,253.0" data-evidence="495-501" />
<rect class="edge-label-bg" x="177.0" y="163.0" width="44.0" height="22" rx="3" />
<text class="edge-label" x="199.0" y="178.0">저장</text>
<polyline class="edge kind-write style-solid emphasis-normal" points="271.0,157.0 271.0,209.8 367.0,209.8 367.0,262.5" data-evidence="495-501" />
<rect class="edge-label-bg" x="297.0" y="167.8" width="44.0" height="22" rx="3" />
<text class="edge-label" x="319.0" y="182.8">주입</text>
<rect class="canvas" width="680" height="312" />
<polyline class="edge kind-write style-solid emphasis-normal" points="220.0,154.5 306.0,154.5 306.0,92.0 392.0,92.0" data-evidence="1002-1006" />
<rect class="edge-label-bg" x="308.0" y="109.2" width="44.0" height="22" rx="3" />
<text class="edge-label" x="330.0" y="124.2">저장</text>
<polyline class="edge kind-write style-solid emphasis-normal" points="220.0,172.5 300.0,172.5 300.0,231.5 380.0,231.5" data-evidence="1002-1006" />
<rect class="edge-label-bg" x="302.0" y="188.0" width="44.0" height="22" rx="3" />
<text class="edge-label" x="324.0" y="203.0">주입</text>
<g id="node-secret">
<rect class="node-shape kind-datastore emphasis-warning role-source" data-evidence="495-501" x="187.0" y="73.0" width="150.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-source" cx="262.0" cy="73.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 187.0 144.0 A 75.0 13.0 0 0 0 337.0 144.0" />
<text class="node-label" x="262.0" y="100.0">k8s Secret</text>
<line class="node-detail-divider" x1="201.0" y1="121.0" x2="323.0" y2="121.0" />
<text class="node-detail" x="203.0" y="138.0">base64 인코딩</text>
<rect class="node-shape kind-datastore emphasis-warning role-source" data-evidence="1002-1006" x="70.0" y="139.8" width="150.0" height="47.3" /><ellipse class="node-shape kind-datastore emphasis-warning role-source" cx="145.0" cy="139.8" rx="75.0" ry="11.8" /><path class="storage-bottom" d="M 70.0 187.2 A 75.0 11.8 0 0 0 220.0 187.2" />
<text class="node-label" x="145.0" y="155.0">k8s Secret</text>
<line class="node-detail-divider" x1="84.0" y1="176.0" x2="206.0" y2="176.0" />
<text class="node-detail" x="86.0" y="193.0">base64 인코딩</text>
</g>
<g id="node-etcd">
<rect class="node-shape kind-datastore emphasis-warning role-target" data-evidence="495-501" x="70.0" y="266.0" width="150.0" height="64.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-target" cx="145.0" cy="266.0" rx="75.0" ry="13.0" /><path class="storage-bottom" d="M 70.0 330.0 A 75.0 13.0 0 0 0 220.0 330.0" />
<text class="node-label" x="145.0" y="296.0">etcd</text>
<rect class="node-shape kind-datastore emphasis-warning role-target" data-evidence="1002-1006" x="392.0" y="70.7" width="150.0" height="42.7" /><ellipse class="node-shape kind-datastore emphasis-warning role-target" cx="467.0" cy="70.7" rx="75.0" ry="10.7" /><path class="storage-bottom" d="M 392.0 113.3 A 75.0 10.7 0 0 0 542.0 113.3" />
<text class="node-label" x="467.0" y="90.0">etcd</text>
</g>
<g id="node-pod">
<rect class="node-shape kind-component emphasis-warning role-target" data-evidence="495-501" x="280.0" y="262.5" width="174.0" height="71.0" rx="7" />
<text class="node-label" x="367.0" y="289.5">파드 환경 변수</text>
<line class="node-detail-divider" x1="294.0" y1="310.5" x2="440.0" y2="310.5" />
<text class="node-detail" x="296.0" y="327.5">env | grep -i secret</text>
<rect class="node-shape kind-component emphasis-warning role-target" data-evidence="1002-1006" x="380.0" y="196.0" width="174.0" height="71.0" rx="7" />
<text class="node-label" x="467.0" y="223.0">파드 환경 변수</text>
<line class="node-detail-divider" x1="394.0" y1="244.0" x2="540.0" y2="244.0" />
<text class="node-detail" x="396.0" y="261.0">env | grep -i secret</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB