--- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: toolhive-operator-crds spec: interval: 1h path: ./kubernetes/apps/ai/toolhive/crds prune: true sourceRef: kind: GitRepository name: flux-system namespace: flux-system targetNamespace: ai wait: true healthChecks: - apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease name: toolhive-operator-crds namespace: ai --- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: toolhive-operator spec: interval: 1h path: ./kubernetes/apps/ai/toolhive/app prune: true sourceRef: kind: GitRepository name: flux-system namespace: flux-system targetNamespace: ai wait: true healthChecks: - apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease name: toolhive-operator namespace: ai # CRD-чарт ставится отдельной Kustomization: CRD должны существовать до # установки оператора (иначе MCPServer/ToolHive-объекты не имеют схемы). dependsOn: - name: toolhive-operator-crds