feat(ai): toolhive-operator и его CRD в ns ai

This commit was merged in pull request #11.
This commit is contained in:
2026-09-17 21:18:29 +00:00
committed by grachevko
parent 12ad1c040c
commit 5b33310a44
9 changed files with 131 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
---
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