sapcode
11/06/2022, 7:50 AMFelix Ruess
11/06/2022, 9:49 AMsapcode
11/06/2022, 10:22 AMFelix Ruess
11/06/2022, 10:31 AMhelm repo add flyteorg <https://helm.flyte.org>
helm repo update
helm install flyte flyteorg/flyte-core -n flyte -f values-k3s.yaml
default-pod-template-name: "flyte-nvidia-template"
from these example values, that is my custom pod template which sets the nvidia runtimesapcode
11/06/2022, 11:58 AM>> 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
Felix Ruess
11/06/2022, 8:20 PM