:wave: if I add a label via <FlyteRemote's execute...
# flyte-support
g
👋 if I add a label via FlyteRemote's execute method, will I be able to reference it in Flyte Propeller's pod template? I would like to set environment variables to the label value using a fieldRef
t
I don't think it's possible. @thankful-minister-83577 / @high-accountant-32689, could you confirm?
h
@tall-lock-23197,that's correct. That said, you know about https://docs.flyte.org/en/latest/deployment/configuration/general.html#using-k8s-podtemplates, right, @gentle-night-59824?
g
thanks for the resources Eduardo! I tried the runtime approach of setting
default-pod-template-name
and it actually did work for me
t
Where are you initializing
default-pod-template-name
?
g
we apply the pod template manifest using kubectl to the cluster manually
we actually already had this set up - I just modified the pod template with a fieldRef in
env
that points to a label via
metadata.labels[...]
supplied by execute
👍 1