diff --git a/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml b/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml new file mode 100644 index 0000000..93b3583 --- /dev/null +++ b/helm/kubeflow-core/templates/300-distributed/300-training-operator.yaml @@ -0,0 +1,12 @@ +{{ if .Values.trainingOperator.enabled }} +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: 300-training-operator + annotations: + argocd.argoproj.io/sync-wave: "300" + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: +{{ .Values.trainingOperator.spec | toYaml | indent 2}} +{{- end -}} \ No newline at end of file diff --git a/helm/kubeflow-core/values.yaml b/helm/kubeflow-core/values.yaml index 8d7a98b..08e88ee 100644 --- a/helm/kubeflow-core/values.yaml +++ b/helm/kubeflow-core/values.yaml @@ -656,4 +656,21 @@ sparkOperator: prune: false syncOptions: - CreateNamespace=true + - ServerSideApply=true + +trainingOperator: + enabled: false + spec: + project: default + source: + path: apps/training-operator/upstream/overlays/kubeflow + repoURL: https://github.com/kubeflow/manifests + targetRevision: 776d4f4 + destination: + namespace: argocd + name: in-cluster + syncPolicy: + automated: + prune: false + syncOptions: - ServerSideApply=true \ No newline at end of file