Labels are not properly applied #2141
Replies: 1 comment
-
Hey @munjalpatel, As of now in the 1.14 release, we are propagating environment variables to the function pod and function labels. Adding function labels/annotations to the function pod is possible, though many controllers won't be able to react in the context of function requests, so action-based labels/annotations like injecting secret/sidecar won't happen in real-time. We would revisit this later, but currently, we are propagating env labels to the pods in the case of newdeploy and pool manager. |
Beta Was this translation helpful? Give feedback.
-
Fission/Kubernetes version
Kubernetes platform
AWS EKS
Describe the bug
env
and a label is applied tofn
, the label is not available in the function pod.env
and a label is also applied tofn
, the label in the function pod has a value fromenv
and notfn
.To Reproduce
For 1:
--labels "app=my-app"
Notice that the function pod does not have the label
app: my-app
For 2:
--labels "app=go-env"
--labels "app=my-app"
Notice that the function pod has the label
app: go-env
Expected result
env
but a label has been added to afn
, the function pod should have that label applied.env
andfn
have the same label, the label value on the function pod should take precedence.cc: @vishal-biyani @sanketsudake
Beta Was this translation helpful? Give feedback.
All reactions