and a quick follow-up: when passing `secret_reques...
# ask-the-community
a
and a quick follow-up: when passing
secret_requests
to
ContainerTask
- how this is made available within container? I don't see
/etc/flyte/secrets
mounted
k
ohh, it should be using the webhook
secrets webhook
actually coming soon is pod-templates
you can basically add pod features to container tasks
a
is there a doc link for secrets webhook?
a
Sorry, I'm still a little lost. I've used
secret_requests
with
ShellTask
for example, and the secrets are mounted within container. But doing the same with `ContainerTask`does not work for me. Should I be doing this differently?
k
Hmm are secrets not working for raw containers, let me check
it seems to be there, i will test it in a bit and ensure
f
Or just use a pod_template and inject secrets there as you like (so you are not bound to the flyte dir or env prefix)
k
Tbh I prefer the Flyte for. It keeps the mealiness of pods from not being exposed unnecessarily and consistent way of specifying secrets
I think this should work - @Felix Ruess did this work for you
f
Yeah, secrets work with container tasks now. But you can't e.g. completely control the injected env name or file name (if you need that)
k
Aah ya
a
how old is my version? 🙂
Copy code
Flyte Console
UI Version
1.3.4
Admin Version
1.1.46
do I need an upgrade?
f
which flytekit version are you using? IIRC this just needed changes in flytekit
a
flytekit==1.2.1
f
yeah, you need at least v1.3.0b1
a
will try upgrading today and report back
f
should also be in 1.2.4
a
excellent, thank you so much!
f
my pleasure
a
confirm that upgrading fixed it 🙇
108 Views