fix(lakekeeper): dip-values.yaml에 gke.paasup.io 실 도메인 값 채움
카탈로그의 dip-values.yaml이 비어 있어 lakekeeper 배포가 차트 기본값(ingress 비활성, 내장 postgres)으로만 이루어지고 있었다. custom-values.yaml을 기준으로 이 클러스터의 실제 ingress host/keycloak URL/openfga preshared key를 채웠다.
This commit is contained in:
@@ -1 +1,87 @@
|
||||
---
|
||||
# gke.paasup.io 클러스터 배포용 오버라이드. custom-values.yaml의 example.org
|
||||
# placeholder를 이 클러스터 실제 도메인/발급자로 채운 버전이다(비어 있으면 차트
|
||||
# 기본값만 적용되어 ingress가 아예 안 생기고 postgresql 내장 서브차트가 뜬다 — 실측).
|
||||
catalog:
|
||||
resources: {}
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "apisix"
|
||||
host: "lakekeeper.gke.paasup.io"
|
||||
path: "/.*"
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
cert-manager.io/duration: 8760h
|
||||
cert-manager.io/renew-before: 720h
|
||||
k8s.apisix.apache.org/use-regex: "true"
|
||||
k8s.apisix.apache.org/ssl-redirect: "true"
|
||||
tls:
|
||||
enabled: true
|
||||
secretName: "lakekeeper-tls"
|
||||
|
||||
# keycloak 사설 인증서 사용 시 설정
|
||||
extraEnv:
|
||||
- name: SSL_CERT_FILE
|
||||
value: "/tmp/ca.crt"
|
||||
extraVolumeMounts:
|
||||
- name: keycloak-tls
|
||||
mountPath: "/tmp/ca.crt"
|
||||
subPath: ca.crt
|
||||
readOnly: true
|
||||
extraVolumes:
|
||||
- name: keycloak-tls
|
||||
secret:
|
||||
secretName: root-ca-secret
|
||||
|
||||
# lakekeeper DB — 내장 postgres 서브차트(groundhog2k/postgres) 대신
|
||||
# cnpg-cluster(전용 인스턴스)를 외부 DB로 사용한다.
|
||||
# 사전 배포: helm install lakekeeper-db manifests/helm/cnpg-cluster/1.0.0 \
|
||||
# -f manifests/helm/cnpg-cluster/1.0.0/custom-values.yaml \
|
||||
# -f manifests/applicationset/lakekeeper/0.11.0/lakekeeper-db-values.yaml -n <ns>
|
||||
postgresql:
|
||||
enabled: false
|
||||
|
||||
externalDatabase:
|
||||
type: postgres
|
||||
# cnpg-cluster의 -ro 서비스는 replica 파드에만 연결되는데, 권장 배포 기준인
|
||||
# instances: 1(small 티어)에서는 replica가 없어 -ro가 엔드포인트 0개인 서비스가
|
||||
# 된다 — lakekeeper의 read-connection이 영구히 재시도만 하며 멈춘다(배포 테스트로 실측).
|
||||
# -r은 인스턴스 수와 무관하게 항상 primary를 포함해 라운드로빈하므로 이 값을 쓴다.
|
||||
# instances를 3 이상으로 올려 실제 replica를 운용하는 경우에도 -r로 충분하다.
|
||||
host_read: "lakekeeper-db-r"
|
||||
host_write: "lakekeeper-db-rw"
|
||||
port: 5432
|
||||
database: lakekeeper
|
||||
user: lakekeeper
|
||||
password: lakekeeper
|
||||
|
||||
|
||||
# OIDC 인증
|
||||
auth:
|
||||
oauth2:
|
||||
providerUri: "https://keycloak.gke.paasup.io/realms/paasup"
|
||||
audience: "lakekeeper"
|
||||
ui:
|
||||
clientID: "lakekeeper"
|
||||
scopes: "lakekeeper"
|
||||
authz:
|
||||
backend: "openfga"
|
||||
openfga:
|
||||
apiKey: "dj+rT0B8wcRX+qhwVeXl4Xf0Jj5vk1WtgZ/A44USumA=" # openfga.authn.preshared.key에 정의된 값과 동일하게 설정.
|
||||
|
||||
internalOpenFGA: true
|
||||
openfga:
|
||||
resources: {}
|
||||
# 테스트 환경 비활성화, authn을 oidc 타입으로 실행하기 위해서는 playground에서는 불가.
|
||||
playground:
|
||||
enabled: false
|
||||
authn:
|
||||
method: "preshared"
|
||||
preshared:
|
||||
# openssl rand -base64 32
|
||||
keys: ["dj+rT0B8wcRX+qhwVeXl4Xf0Jj5vk1WtgZ/A44USumA="]
|
||||
postgresql:
|
||||
primary:
|
||||
resources: {}
|
||||
persistence:
|
||||
storageClass: ""
|
||||
size: 8Gi
|
||||
|
||||
Reference in New Issue
Block a user