apiVersion: v1 kind: ServiceAccount metadata: name: ollama-scheduler namespace: argo --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: ollama-scheduler namespace: argo rules: - apiGroups: ["argoproj.io"] resources: ["cronworkflows"] verbs: ["create", "get", "list", "watch", "update", "patch", "delete"] - apiGroups: ["argoproj.io"] resources: ["workflows"] verbs: ["create", "get", "list"] - apiGroups: ["argoproj.io"] resources: ["workflowtemplates"] verbs: ["get", "list"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: ollama-scheduler namespace: argo subjects: - kind: ServiceAccount name: ollama-scheduler namespace: argo roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ollama-scheduler