Skip to content

Commit db91187

Browse files
committed
Add serviceability env
1 parent edadf55 commit db91187

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/utils.go

+2
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ func ConfigureServiceability(pts *corev1.PodTemplateSpec, la *olv1.OpenLibertyAp
411411
}
412412
pts.Spec.Volumes = append(pts.Spec.Volumes, vol)
413413
}
414+
415+
pts.Spec.Containers[0].Env = append(pts.Spec.Containers[0].Env, corev1.EnvVar{Name: "SERVICEABILITY_NAMESPACE", Value: la.GetNamespace()})
414416
}
415417
}
416418

0 commit comments

Comments
 (0)