busy-wall-66827
05/16/2023, 4:33 AMtall-lock-23197
busy-wall-66827
05/16/2023, 9:42 AMbusy-wall-66827
05/16/2023, 10:03 AMbusy-wall-66827
05/16/2023, 10:04 AMtall-lock-23197
average-finland-92144
05/16/2023, 3:49 PMbusy-wall-66827
05/16/2023, 4:06 PMbusy-wall-66827
05/16/2023, 4:07 PMtall-lock-23197
busy-wall-66827
05/17/2023, 10:17 AM{"json":{},"level":"warning","msg":"stow configuration section missing, defaulting to legacy s3/minio connection config","ts":"2023-05-17T10:14:52Z"}
{"json":{},"level":"warning","msg":"stow configuration section missing, defaulting to legacy s3/minio connection config","ts":"2023-05-17T10:14:55Z"}
{"json":{},"level":"warning","msg":"Failed to create cluster resources for namespace [flytesnacks-development] with err: Failed to read config template dir [flytesnacks-development] for namespace [] with err: open : no such file or directory","ts":"2023-05-17T10:14:55Z"}
{"json":{},"level":"warning","msg":"Failed to create cluster resources for namespace [flytesnacks-staging] with err: Failed to read config template dir [flytesnacks-staging] for namespace [] with err: open : no such file or directory","ts":"2023-05-17T10:14:55Z"}
{"json":{},"level":"warning","msg":"Failed to create cluster resources for namespace [flytesnacks-production] with err: Failed to read config template dir [flytesnacks-production] for namespace [] with err: open : no such file or directory","ts":"2023-05-17T10:14:55Z"}
{"json":{},"level":"warning","msg":"Failed cluster resource creation loop with: Failed to read config template dir [flytesnacks-development] for namespace [] with err: open : no such file or directory, Failed to read config template dir [flytesnacks-staging] for namespace [] with err: open : no such file or directory, Failed to read config template dir [flytesnacks-production] for namespace [] with err: open : no such file or directory","ts":"2023-05-17T10:14:55Z"}
{"json":{},"level":"error","msg":"Failed to initialize certificates for Secrets Webhook. client rate limiter Wait returned an error: context canceled","ts":"2023-05-17T10:14:57Z"}
{"json":{},"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:<workspace_name>:flyte\" cannot create resource \"customresourcedefinitions\" in API group \"<http://apiextensions.k8s.io|apiextensions.k8s.io>\" at the cluster scope","ts":"2023-05-17T10:14:57Z"}
tall-lock-23197
busy-wall-66827
05/17/2023, 11:36 AMbusy-wall-66827
05/17/2023, 11:36 AMbusy-wall-66827
05/17/2023, 11:36 AMtall-lock-23197
busy-wall-66827
05/17/2023, 11:44 AMbusy-wall-66827
05/17/2023, 11:45 AMannotations:
<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>: "arn:aws:iam::<aws-account-id>:role/flyte-system-role"
tall-lock-23197
tall-lock-23197
We tried this, this worked. But we want to simplify this even further with env variables injection.@average-finland-92144, do you know how to do this?
busy-wall-66827
05/17/2023, 11:59 AMaverage-finland-92144
05/17/2023, 6:33 PMIs there a way to configure flyte without giving role ARN, by giving access to EKS host and port?@busy-wall-66827 IAM Roles for Service Accounts is the recommended approach, and as far as I can tell the chart itself is designed to accept a Service Account annotated with an IAM role. What's your use case here?
busy-wall-66827
05/17/2023, 6:35 PMaverage-finland-92144
05/17/2023, 6:37 PMbusy-wall-66827
05/17/2023, 6:37 PMbusy-wall-66827
05/17/2023, 6:38 PMaverage-finland-92144
05/17/2023, 6:38 PMaverage-finland-92144
05/17/2023, 6:38 PMbusy-wall-66827
05/17/2023, 6:38 PMaverage-finland-92144
05/17/2023, 6:39 PMbusy-wall-66827
05/17/2023, 6:41 PMbusy-wall-66827
05/17/2023, 6:42 PMaverage-finland-92144
05/17/2023, 6:43 PMCan you share a holy bible of flight which I can follow for config management?Sure but, in this context, what do you mean by
configuration management
?busy-wall-66827
05/17/2023, 6:44 PMaverage-finland-92144
05/17/2023, 6:45 PMAlso, is there a way to inject env variables for AWS S3 and Postgres like the way we do for Kubernetes config?All the env vars that I see accepted by the chart are in
values
or under extraEnvVars
(again in values
)
There is a way to inject env vars but at the task level (using Pod Templates), not that I know for the backendaverage-finland-92144
05/17/2023, 6:46 PMbusy-wall-66827
05/17/2023, 6:48 PMbusy-wall-66827
05/17/2023, 6:48 PMbusy-wall-66827
05/17/2023, 6:49 PMaverage-finland-92144
05/17/2023, 6:57 PMaverage-finland-92144
05/17/2023, 6:58 PMaverage-finland-92144
05/17/2023, 6:58 PMaverage-finland-92144
05/17/2023, 6:59 PMbusy-wall-66827
05/18/2023, 4:20 AM