Hey guys,
Trying to set up auth with the flyte-binary and having some issues with the secrets. What I have so far in my values:
auth:
enabled: true
oidc:
baseUrl: "<azureAD oidc application>"
clientId: "<oidc id>"
clientSecret: <base64 encoded oicd secret>
internal:
clientSecret: <base64 encoded secret>
clientSecretHash: "<bcrypt hash of above>"
I guess that may not be terribly informative? Point being, I'm quite confident that the
oidc.baseUrl
and
oidc.clientID
are correct. However, when I install the chart, the
gen-admin-auth-secret
container errors out with:
* error decoding 'appAuth.selfAuthServer.staticClients[flytepropeller].client_secret': illegal base64 data at input byte 0
Couple of questions:
• Which client secret is this?
• I've tried base64 encoding locally with python and
here
• Is it possible to store these values in a k8s secret?
• Is this really all the auth setup needed? I'm migrating from a pre-binary setup to the binary and there's a lot of complexity in the former chart which is not present in the latter
Any pointers would be much appreciated ☺️