Skip to content

Commit

Permalink
Update Java SDK image to tag 3.5.2-aks (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokaplan authored May 3, 2024
1 parent 44c8cc3 commit c084acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appmonitoring/ts/src/Mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class Mutations {
};
private static agentImageJava = {
repositoryPath: "auto-instrumentation/java",
imageTag: "3.5.1-aks"
imageTag: "3.5.2-aks"
};

// path on agent image to copy from
Expand Down
2 changes: 1 addition & 1 deletion appmonitoring/ts/src/tests/Patcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ describe("Patcher", () => {
const newInitContainers: IContainer[] = Mutations.GenerateInitContainers(platforms, cr1.spec.settings.imageRepoPath);
expect((<any>result[0]).value.spec.template.spec.initContainers.length).toBe(admissionReview.request.object.spec.template.spec.initContainers.length + newInitContainers.length);
expect((<any>result[0]).value.spec.template.spec.initContainers[2].image).toBe(`myacr.azurecr.io/some-namespace-blah/opentelemetry-auto-instrumentation/dotnet:1.0.0-rc.1`);
expect((<any>result[0]).value.spec.template.spec.initContainers[3].image).toBe(`myacr.azurecr.io/some-namespace-blah/auto-instrumentation/java:3.5.1-aks`);
expect((<any>result[0]).value.spec.template.spec.initContainers[3].image).toBe(`myacr.azurecr.io/some-namespace-blah/auto-instrumentation/java:3.5.2-aks`);
expect((<any>result[0]).value.spec.template.spec.initContainers[4].image).toBe(`myacr.azurecr.io/some-namespace-blah/opentelemetry-auto-instrumentation/nodejs:3.0.0`);
});
});

0 comments on commit c084acb

Please sign in to comment.