🤕
Issue: Authentification inside AWS Codebuild
Hi, we have implemented Flyte on EKS with the chart flyte-core. We have been able to implement authentification with Okta and works perfect locally. The problem is that we have an AWS Codebuild, that deploys a workflow (CD), which we are not able to deploy the workflow to the remote cluster.
The error:
Unauthenticated desc = Request unauthenticated with IDToken, Auth Error: failed to initialized token source provider. Err: open /etc/secrets/client_secret: no such file or directory","ts":"2023-12-14T10:35:47Z"}
When we define our client_secret in the specified path:
{
"json": {},
"level": "warning",
"msg": "failed to cache token: %!w(*fmt.wrapError=&{unable to save token. Error: Failed to execute program org.freedesktop.secrets: Operation not permitted {org.freedesktop.DBus.Error.Spawn.ExecFailed [Failed to execute program org.freedesktop.secrets: Operation not permitted]}})",
"ts": "2023-12-14T11:59:51Z"
}
And the script that deploys the workflow gets stuck 🥲
Our current flyte config:
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: dns:///<our flyte dns>
authType: Pkce
insecure: false
logger:
show-source: true
level: 0