New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JAVA_OPTS and JAVA_TOOL_OPTIONS to envoverwriter #1133
base: main
Are you sure you want to change the base?
Conversation
|
@@ -210,6 +211,11 @@ func getWorkloadRolloutJsonPatch(obj client.Object, pts *v1.PodTemplateSpec) ([] | |||
|
|||
// remove odigos instrumentation device from containers | |||
for iContainer, c := range pts.Spec.Containers { | |||
_, sdk, found := odgiosK8s.GetLanguageAndOtelSdk(c) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The for loop below is already executed in the GetLanguageAndOtelSdk
function. Does it make sense to also return the device name from the util function?
return false | ||
} | ||
|
||
if !strings.Contains(value, val) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check all SDKs
Co-authored-by: Amir Blum <amirgiraffe@gmail.com>
Resolves #1130