[Bug] Custom labels are not pulled in for kuberay-operator and kuberay-apiserver #1391
Closed
2 tasks done
Labels
bug
Something isn't working
Search before asking
KubeRay Component
ray-operator, apiserver
What happened + What you expected to happen
Our production kubernetes setup requires us to have certain labels on all deployments, daemonsets, pods and statefulsets. Currently deployment.yaml for both kuberay-operator and kuberay-apiserver pull in labels from
kuberay-operator.labels
orkuberay-apiserver.labels
that is defined in_helpers.tpl
only and not from.Values
due to this additional custom labels cannot be added on to the deployments. Also, the spec template metadata for kuberay-operator pulls in the labels from .Values but the same is missing from the kuberay-apiserver.Reproduction script
kuberay-operator
andkuberay-apiserver
helm charts from heredummy-label: "dummy"
in values.yaml for both operator and apiserver.helm install kuberay-operator .
andhelm install kuberay-apiserver .
respectivelykubectl get deployments
to make sure both operator and apiserver are deployedkubectl describe deployment kuberay-operator
, you will see that the deployment does not have the dummy-label but the pod template has the dummy-label.kubectl describe deployment kuberay-apiserver
, you will see that neither the deployment nor the pod template has the dummy-label.Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: