feat(ai): toolhive-operator и его CRD в ns ai
This commit was merged in pull request #11.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user