:wave: if I add a label via <FlyteRemote's execute...
# ask-the-community
s
👋 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
s
I don't think it's possible. @Yee / @Eduardo Apolinario (eapolinario), could you confirm?
e
@Samhita Alla,that's correct. That said, you know about https://docs.flyte.org/en/latest/deployment/configuration/general.html#using-k8s-podtemplates, right, @Swarup Srinivasan?
s
thanks for the resources Eduardo! I tried the runtime approach of setting
default-pod-template-name
and it actually did work for me
s
Where are you initializing
default-pod-template-name
?
s
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