Open stuartnelson3 opened 2 years ago
Currently, users have two options for injecting their APM Server's secret token into containers:
Secret
apm-server-apm-token
It might be nice to allow users to, instead of supplying the secret token, supply the name of the kubernetes secret containing the token, and then mounting that value found there inside the containers being auto-instrumented.
Hi @stuartnelson3 , is anyone working on this? If not, is it okay if I pick this up
Currently, users have two options for injecting their APM Server's secret token into containers:
Secret
in their desired namespaces with the nameapm-server-apm-token
(cf. https://github.com/elastic/apm-mutating-webhook/blob/main/apm-agent-auto-attach/templates/webhook.yaml#L35-L42)It might be nice to allow users to, instead of supplying the secret token, supply the name of the kubernetes secret containing the token, and then mounting that value found there inside the containers being auto-instrumented.