fix(ory): re-enable hydra-maester, fix namespace, add memory limit

This commit is contained in:
2026-02-28 14:02:47 +00:00
parent 886c4221b2
commit 92e80a761c
3 changed files with 25 additions and 5 deletions

View File

@@ -2,11 +2,6 @@
# DOMAIN_SUFFIX is replaced by overlay patches.
# DSN and system secrets come from the overlay-specific Secret.
# Disable the maester controller — it manages OAuth2Client CRDs which we don't use locally.
# OAuth2 clients are registered directly via the Hydra admin API.
maester:
enabled: false
hydra:
config:
dsn: "postgresql://hydra:$(HYDRA_DB_PASSWORD)@postgres-rw.data.svc.cluster.local:5432/hydra_db"

View File

@@ -7,6 +7,16 @@ resources:
- namespace.yaml
- login-ui-deployment.yaml
# The hydra-maester sub-chart does not set .Release.Namespace in its Deployment template.
patches:
- patch: |
- op: add
path: /metadata/namespace
value: ory
target:
kind: Deployment
name: hydra-hydra-maester
helmCharts:
# helm repo add ory https://k8s.ory.sh/helm/charts
- name: kratos