File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/Contrast.K8s.AgentOperator/Core/Reactions/Injecting/Patching/Agents Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public IEnumerable<V1EnvVar> GenerateEnvVars(PatchingContext context)
17
17
yield return new V1EnvVar ( "NODE_OPTIONS" , $ "--require { context . AgentMountPath } /node_modules/@contrast/agent") ;
18
18
yield return new V1EnvVar ( "CONTRAST__AGENT__LOGGER__PATH" , $ "{ context . WritableMountPath } /logs/contrast_agent.log") ;
19
19
yield return new V1EnvVar ( "CONTRAST__AGENT__SECURITY_LOGGER__PATH" , $ "{ context . WritableMountPath } /logs/contrast_agent_cef.log") ;
20
+ yield return new V1EnvVar ( "CONTRAST__AGENT__NODE__REWRITE__CACHE__PATH" , $ "{ context . WritableMountPath } /cache") ;
20
21
yield return new V1EnvVar ( "CONTRAST_INSTALLATION_TOOL" , "KUBERNETES_OPERATOR" ) ;
21
22
}
22
23
}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public IEnumerable<V1EnvVar> GenerateEnvVars(PatchingContext context)
17
17
yield return new V1EnvVar ( "NODE_OPTIONS" , $ "--import { context . AgentMountPath } /node_modules/@contrast/agent/lib/esm-loader.mjs") ;
18
18
yield return new V1EnvVar ( "CONTRAST__AGENT__LOGGER__PATH" , $ "{ context . WritableMountPath } /logs/contrast_agent.log") ;
19
19
yield return new V1EnvVar ( "CONTRAST__AGENT__SECURITY_LOGGER__PATH" , $ "{ context . WritableMountPath } /logs/contrast_agent_cef.log") ;
20
+ yield return new V1EnvVar ( "CONTRAST__AGENT__NODE__REWRITE__CACHE__PATH" , $ "{ context . WritableMountPath } /cache") ;
20
21
yield return new V1EnvVar ( "CONTRAST_INSTALLATION_TOOL" , "KUBERNETES_OPERATOR" ) ;
21
22
}
22
23
}
You can’t perform that action at this time.
0 commit comments