Hi!
I am currently trying to set up a system using the prometheus datasource-syncer where the CronJob has an initContainer that creates the G-SA and the token if they do not exist. The token is stored as plaintext to a volume that is shared by the main container and the initContainer.
The distroless image makes it so that the token cannot be read/passed in any meaningful way via code as far as I can tell (without exposing it to the codebase that is).
I think the easiest solution would be to allow passing a filepath from where the token could be read. Would it be possible to support?
Hi!
I am currently trying to set up a system using the prometheus datasource-syncer where the CronJob has an initContainer that creates the G-SA and the token if they do not exist. The token is stored as plaintext to a volume that is shared by the main container and the initContainer.
The distroless image makes it so that the token cannot be read/passed in any meaningful way via code as far as I can tell (without exposing it to the codebase that is).
I think the easiest solution would be to allow passing a filepath from where the token could be read. Would it be possible to support?