2026-02-28 13:42:27 +00:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
2026-03-03 00:57:58 +00:00
|
|
|
# namespace: ory removed — all non-Helm resources already set namespace: ory
|
|
|
|
|
# explicitly, and the Helm charts use namespace: ory in their helmCharts spec.
|
|
|
|
|
# The kustomization-level transformer was incorrectly moving hydra-maester's
|
|
|
|
|
# enabledNamespaces Role (meant for lasuite) into the ory namespace, causing
|
|
|
|
|
# a duplicate-name conflict.
|
2026-02-28 13:42:27 +00:00
|
|
|
|
|
|
|
|
resources:
|
|
|
|
|
- namespace.yaml
|
|
|
|
|
- login-ui-deployment.yaml
|
feat: bring up local dev stack — all services running
- Ory Hydra + Kratos: fixed secret management, DSN config, DB migrations,
OAuth2Client CRD (helm template skips crds/ dir), login-ui env vars
- SeaweedFS: added s3.json credentials file via -s3.config CLI flag
- OpenBao: standalone mode with auto-unseal sidecar, keys in K8s secret
- OpenSearch: increased memory to 1.5Gi / JVM 1g heap
- Gitea: SSL_MODE disable, S3 bucket creation fixed
- Hive: automountServiceAccountToken: false (Lima virtiofs read-only rootfs quirk)
- LiveKit: API keys in values, hostPort conflict resolved
- Linkerd: native sidecar (proxy.nativeSidecar=true) to avoid blocking Jobs
- All placeholder images replaced: pingora→nginx:alpine, login-ui→oryd/kratos-selfservice-ui-node
Full stack running: postgres, valkey, openbao, opensearch, seaweedfs,
kratos, hydra, gitea, livekit, hive (placeholder), login-ui
2026-02-28 22:08:38 +00:00
|
|
|
# Hydra chart CRDs are not rendered by helm template; apply manually.
|
|
|
|
|
- hydra-oauth2client-crd.yaml
|
2026-03-02 18:32:33 +00:00
|
|
|
- vault-secrets.yaml
|
2026-02-28 13:42:27 +00:00
|
|
|
|
2026-02-28 14:02:47 +00:00
|
|
|
# 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
|
|
|
|
|
|
2026-02-28 13:42:27 +00:00
|
|
|
helmCharts:
|
|
|
|
|
# helm repo add ory https://k8s.ory.sh/helm/charts
|
|
|
|
|
- name: kratos
|
|
|
|
|
repo: https://k8s.ory.sh/helm/charts
|
|
|
|
|
version: "0.60.1"
|
|
|
|
|
releaseName: kratos
|
|
|
|
|
namespace: ory
|
|
|
|
|
valuesFile: kratos-values.yaml
|
|
|
|
|
|
|
|
|
|
- name: hydra
|
|
|
|
|
repo: https://k8s.ory.sh/helm/charts
|
|
|
|
|
version: "0.60.1"
|
|
|
|
|
releaseName: hydra
|
|
|
|
|
namespace: ory
|
|
|
|
|
valuesFile: hydra-values.yaml
|