ai-stack/charts/dot-ai-stack/templates/resourcesyncconfig.yaml
2026-03-26 05:32:52 +02:00

21 lines
579 B
YAML

{{- if .Values.resourceSync.enabled }}
apiVersion: dot-ai.devopstoolkit.live/v1alpha1
kind: ResourceSyncConfig
metadata:
name: default-sync
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "10"
spec:
mcpEndpoint: http://dot-ai:3456/api/v1/resources/sync
mcpAuthSecretRef:
name: dot-ai-secrets
key: auth-token
{{- with .Values.resourceSync.debounceWindowSeconds }}
debounceWindowSeconds: {{ . }}
{{- end }}
{{- with .Values.resourceSync.resyncIntervalMinutes }}
resyncIntervalMinutes: {{ . }}
{{- end }}
{{- end }}