docs(reviews): add the k3s maturity review and set Traefik resources #3

Merged
donghyeon.kang merged 5 commits from donghyeon.kang/k3s-maturity-review AGit into main 2026-11-11 15:14:16 +00:00
3 changed files with 16 additions and 3 deletions
Showing only changes of commit 1c4ef9affd - Show all commits
+4
View File
@@ -402,6 +402,10 @@ fi
fail "the Keycloak role must authenticate only to the Keycloak database"
[[ "$(rg --count -- '^[[:space:]]*-[[:space:]]host all keycloak all reject[[:space:]]*$' "${render_dir}/platform-postgres.yaml" || true)" == "1" ]] || \
fail "the Keycloak role must be rejected from every other database"
[[ "$(rg --count -- '^[[:space:]]*-[[:space:]]host techlog techlog all scram-sha-256[[:space:]]*$' "${render_dir}/platform-postgres.yaml" || true)" == "1" ]] || \
fail "the tech-log role must authenticate only to the tech-log database"
[[ "$(rg --count -- '^[[:space:]]*-[[:space:]]host all techlog all reject[[:space:]]*$' "${render_dir}/platform-postgres.yaml" || true)" == "1" ]] || \
fail "the tech-log role must be rejected from every other database"
rg --quiet '^kind: CustomResourceDefinition$' "${render_dir}/cnpg-operator.yaml" || \
+10 -3
View File
@@ -21,9 +21,16 @@ platform-postgres-rw.platform-data.svc.cluster.local:5432
업그레이드한다.
Cluster의 사용자 정의 `pg_hba` 규칙은 `gitea`가 `gitea` Database에만,
`keycloak`이 `keycloak` Database에만 인증하도록 허용한 뒤 각 Role의 다른 모든
Database 접근을 거부한다. 이 규칙들은 CloudNativePG의 기본 fallback 인증 규칙보다
앞에 배치된다.
`keycloak`이 `keycloak` Database에만, `techlog`가 `techlog` Database에만 인증하도록
허용한 뒤 각 Role의 다른 모든 Database 접근을 거부한다. 이 규칙들은
CloudNativePG의 기본 fallback 인증 규칙보다 앞에 배치된다.
`techlog` 규칙 쌍은 운영 tech-log(hyeonworks.com)가 쓰는 것으로, 클러스터에는
이 저장소 밖에서 먼저 들어갔다(2026-11-11 점검에서 확인). 이 규칙 쌍이 없는 렌더를
적용하면 운영 backend가 DB에 접속하지 못하므로 공통 Cluster에 둔다. `techlog`
`DatabaseRole`·`Database`, `platform-data/techlog-db-credentials`와 tech-log용
NetworkPolicy는 아직 어느 저장소에도 없다. 둘 곳은 소유자가 정한다
(`docs/reviews/2026-11-11-k3s-maturity-review.md` 4절).
## Phase 1 Secret 계약
@@ -24,6 +24,8 @@ spec:
- host all gitea all reject
- host keycloak keycloak all scram-sha-256
- host all keycloak all reject
- host techlog techlog all scram-sha-256
- host all techlog all reject
storage:
size: 20Gi