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
|
2026-03-03 11:30:52 +00:00
|
|
|
- kratos-admin-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
|
feat: add PrometheusRule alerts for all services
28 alert rules across 9 PrometheusRule files covering infrastructure
(Longhorn, cert-manager), data (PostgreSQL, OpenBao, OpenSearch),
storage (SeaweedFS), devtools (Gitea), identity (Hydra, Kratos),
media (LiveKit), and mesh (Linkerd golden signals for all services).
Severity routing: critical alerts fire to Matrix + email, warnings
to Matrix only (AlertManager config updated in separate commit).
2026-03-24 12:20:55 +00:00
|
|
|
- ory-alertrules.yaml
|
|
|
|
|
- hydra-servicemonitor.yaml
|
|
|
|
|
- kratos-servicemonitor.yaml
|
2026-02-28 13:42:27 +00:00
|
|
|
|
2026-02-28 14:02:47 +00:00
|
|
|
patches:
|
feat(infra): data, storage, devtools, and ory layer updates
- data: CNPG cluster tuning, OpenBao values, OpenSearch deployment fixes,
OpenSearch PVC, barman vault secret for S3 backup credentials
- storage: SeaweedFS filer updates (s3.json via secret subPath), PVC for
filer persistent storage
- devtools: Gitea values (SSH service, custom theme), gitea-theme-cm ConfigMap
- ory: add kratos-selfservice-urls.yaml for self-service flow URLs
- media: LiveKit values updated (TURN config, STUN, resource limits)
- vso: kustomization cleanup
2026-03-06 12:07:28 +00:00
|
|
|
# Set Kratos selfservice UI URLs (DOMAIN_SUFFIX substituted at apply time).
|
|
|
|
|
- path: kratos-selfservice-urls.yaml
|
|
|
|
|
|
|
|
|
|
# The hydra-maester sub-chart does not set .Release.Namespace in its Deployment template.
|
2026-02-28 14:02:47 +00:00
|
|
|
- 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
|