hana_sql_exporter icon indicating copy to clipboard operation
hana_sql_exporter copied to clipboard

secrets for Kubernetes deployment

Open sevko21 opened this issue 4 years ago • 3 comments

Hi,

is there a way to deploy the secrets in the Kubernetes environment? There isn't a shell integrated in the container so it is hard for us to set the password over the container.

Regards

sevko21 avatar Jun 24 '21 08:06 sevko21

Hi,

if you want an integrated shell, just replace the following line in the Dockerfile

# final stage
FROM scratch

with

# final stage
FROM alpine

Otherwise you can always download the current binary of the hana_sql_exporter or build it yourself.

Best regards Ulli

ulranh avatar Jun 24 '21 10:06 ulranh

Can we also place the secret section manually in the .toml file? Best Regards Sevket

sevko21 avatar Jun 24 '21 10:06 sevko21

This should be possible. However, the internal structure of the secret section must of course be preserved.

Best regards Ulli

ulranh avatar Jun 25 '21 08:06 ulranh