abundant-river-10524
11/06/2022, 7:50 AMquaint-diamond-37493
11/06/2022, 9:49 AMabundant-river-10524
11/06/2022, 10:22 AMquaint-diamond-37493
11/06/2022, 10:31 AMquaint-diamond-37493
11/06/2022, 10:38 AMhelm repo add flyteorg <https://helm.flyte.org>
helm repo update
helm install flyte flyteorg/flyte-core -n flyte -f values-k3s.yaml
quaint-diamond-37493
11/06/2022, 10:39 AMquaint-diamond-37493
11/06/2022, 10:40 AMdefault-pod-template-name: "flyte-nvidia-template"
from these example values, that is my custom pod template which sets the nvidia runtimeabundant-river-10524
11/06/2022, 11:58 AMabundant-river-10524
11/06/2022, 12:19 PM>> import bcrypt
>> bcrypt.hashpw(b"foobar", bcrypt.gensalt(prefix=b"2a"))The resulting hash should look something like this:b'$2a$12$d3mGDJwq9F5TiQA1YYm0TOVzvEvcBX5VEw2AW0gqrn7Mvh2InuiCS' then base64 encode it and use that as client_secret in the config. I hope I remember it correctly, I should have documented the steps properly. Perhaps someone from the flyte team familiar with the internal auth server can verify if this is the right way or not. Here we need the matching secret still in cleartext, i.e. secrets: adminOauthClientCredentials: enabled: true clientSecret: foobar clientId: flytepropeller
abundant-river-10524
11/06/2022, 12:20 PMabundant-river-10524
11/06/2022, 12:22 PMquaint-diamond-37493
11/06/2022, 8:20 PMquaint-diamond-37493
11/06/2022, 8:21 PMquaint-diamond-37493
11/06/2022, 8:22 PM