File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1081,7 +1081,13 @@ func (conf *ResourceConfig) populateMeta(obj runtime.Object) error {
10811081 conf .pod .labels [k8s .ProxyRootParentKindLabel ] = tm .Kind
10821082 conf .pod .labels [k8s .ProxyRootParentGroupLabel ] = tm .GroupVersionKind ().Group
10831083
1084- conf .GetValues ().Proxy .Tracing .Labels [k8s .TracingServiceName ] = om .Name + "-linkerd-proxy"
1084+ if proxy := conf .GetValues ().Proxy ; proxy != nil {
1085+ if tracing := proxy .Tracing ; tracing != nil {
1086+ if tracingLabels := tracing .Labels ; tracingLabels != nil {
1087+ tracingLabels [k8s .TracingServiceName ] = om .Name + "-linkerd-proxy"
1088+ }
1089+ }
1090+ }
10851091 }
10861092 conf .pod .labels [k8s .WorkloadNamespaceLabel ] = v .Namespace
10871093 if conf .pod .meta .Annotations == nil {
You can’t perform that action at this time.
0 commit comments