aloof-tailor-52290
05/08/2024, 10:26 AM{
"json": {
"src": "start.go:226"
},
"level": "panic",
"msg": "Failed to start Propeller, err: failed to create FlyteWorkflow CRD: <http://customresourcedefinitions.apiextensions.k8s.io|customresourcedefinitions.apiextensions.k8s.io> is forbidden: User \"system:serviceaccount:flyte:flyte-binary\" cannot create resource \"customresourcedefinitions\" in API group \"<http://apiextensions.k8s.io|apiextensions.k8s.io>\" at the cluster scope",
"ts": "2024-05-08T10:14:10Z"
}
In my values.yaml file, serviceAccount.create
is set to true
I have installed Flyte using https://artifacthub.io/packages/helm/flyte/flyte-binary/1.11.0
I will really appreciate any help.gentle-tomato-480
05/08/2024, 11:29 AMaloof-tailor-52290
05/08/2024, 11:52 AMextraRules
, which was earlier empty to the following but I still get the same error.
rbac:
# create Create ClusterRole and ClusterRoleBinding resources
create: true
# labels Add labels to RBAC resources
labels: {}
# annotations Add annotations to RBAC resources
annotations: {}
# extraRules Add additional rules to the ClusterRole
extraRules:
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- create
- get
- patch
I also upgraded to 1.12.0
but no changegentle-tomato-480
05/08/2024, 11:59 AMaverage-finland-92144
05/08/2024, 3:09 PMaloof-tailor-52290
05/09/2024, 3:30 AM$ k get clusterrole | grep -i flyte
flyte-binary-cluster-role 2024-05-08T12:03:04Z
$ k get clusterrole flyte-binary-cluster-role -o yaml | grep -B1 -A13
...
rules:
- apiGroups:
- ""
--
- apiGroups:
- <http://flyte.lyft.com|flyte.lyft.com>
resources:
- flyteworkflows
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- post
- update
- watch
- apiGroups:
aloof-tailor-52290
05/09/2024, 6:14 AMclusterrolebinding
😞 Thanks for the help @average-finland-92144. Your suggestion made me look in the right direction.