flat-waiter-82487
10/25/2024, 2:15 PMClusterRole
s being present is a major blocker. I saw that for namespace's there's a
configmap:
namespace_config:
namespace_mapping:
template: <my single NS>
setting. I've tried to work around the ClusteRole
by using namespace-level Role
instead, but it still Flyte fails to start (CrashLookBackOff) due to:
cannot create resource \"customresourcedefinitions\" in API group \"apiextensions.k8s.io\" at the cluster scope
Is there any way around that? 🤔freezing-airport-6809
freezing-airport-6809
flat-waiter-82487
10/25/2024, 2:44 PMfreezing-airport-6809
freezing-airport-6809
average-finland-92144
10/25/2024, 6:22 PMfalse
https://github.com/flyteorg/flyte/blob/13b3d82c94fb61047a49aa2093a2b17fb6a7c792/charts/flyte-binary/values.yaml#L368-L370
Helm won't create the ClusterRole
I haven't tried any of this, but then you could create a Role and RoleBinding to Flyte's service account and the CRD's API groupflat-waiter-82487
10/28/2024, 8:34 AMrbac.create=false
and used my own Role
/ RoleBinding
instead.
I've tried to work around theOnce the Deployment starts in k8s, it wants to create the CRD at runtime and due to missingby using namespace-levelClusteRole
insteadRole
ClusterRole
- it fails.
you will also have to change the cli for starting propeller@freezing-airport-6809 - which one? I'm using
flyte-binary
helm chartaverage-finland-92144
10/28/2024, 7:07 PMflyte-core
is possible to disable CRD creation by Helm so you could have more control over the process:
https://github.com/flyteorg/flyte/blob/13b3d82c94fb61047a49aa2093a2b17fb6a7c792/charts/flyte-core/templates/propeller/crds/flyteworkflow.yaml#L2
I think CRDs are always cluster-scoped but instances are, in the case of the flyteworkflow
CRD, namespaced https://github.com/flyteorg/flyte/blob/13b3d82c94fb61047a49aa2093a2b17fb6a7c792/charts/flyte-core/templates/propeller/crds/flyteworkflow.yaml#L19flat-waiter-82487
11/04/2024, 12:40 PMflyte-binary
, since it's easier and more suitable to our needs. I also saw that there is no option to install CRD as a part of Helm Chart in flyte-binary
😞flat-waiter-82487
11/04/2024, 12:43 PMpropeller:
create-flyteworkflow-crd: false
have a desired effect here? https://github.com/flyteorg/flyte/blob/f7450303998094289cef2f8106c185eb8efc670a/charts/flyte-binary/templates/configmap.yaml#L43
I could create PR for thataverage-finland-92144
11/05/2024, 4:43 PMflat-waiter-82487
11/06/2024, 3:51 PMflat-waiter-82487
11/07/2024, 9:24 AMflat-waiter-82487
11/18/2024, 8:24 AMaverage-finland-92144
11/18/2024, 5:16 PM