Add kf to servcie account
@@ -101,6 +101,12 @@ rules:
- apiGroups: ["", "*"]
resources: ["events", "pods/status", "pods/log"]
verbs: ["watch", "get", "list"]
+ - apiGroups: ["kubeflow.org"]
+ resources: ["tfjobs", "pytorchjobs"]
+ verbs: ["get", "watch", "list", "create", "delete", "patch"]
+ - apiGroups: ["apiextensions.k8s.io"]
+ resources: ["customresourcedefinitions"]
+ verbs: ["get", "watch", "list", "create", "delete", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
@@ -183,6 +189,12 @@ rules:
- apiGroups: ["", "*"]
resources: ["events", "pods/status", "pods/log"]
verbs: ["watch", "get", "list"]
+ - apiGroups: ["kubeflow.org"]
+ resources: ["tfjobs", "pytorchjobs"]
+ verbs: ["get", "watch", "list"]
+ - apiGroups: ["apiextensions.k8s.io"]
+ resources: ["customresourcedefinitions"]
+ verbs: ["get", "watch", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
