fix(ory): re-enable hydra-maester, fix namespace, add memory limit
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user