This creates a situation where rollover-hook-init cannot be used with a custom CA configured via parameters storage.elasticsearch.tls, as it will fall with an error of the missing certificate installed in ES_TLS_CA.
If you try to use parameter .Values.esRollover.extraSecretMounts, it causes a conflict with the environment variable ES_TLS_CA.
The only option left is not to use parameter .Values.storage.elasticsearch.tls, but to manually declare extraSecrets and extraEnvs for each chart microservice.
I would like to correct this situation with a small edit.
The .Value.storage.elasticsearch.tls parameter automatically adds the mounting of the specified Secret to the executed es-rollover-hook.yml just as in the template es-rollover-cronjob.yaml
Relevant log output
Error: failed to load CA CertPool: failed to load CA /es-tls/ca-cert.pem: open /es-tls/ca-cert.pem: no such file or directory
What happened?
Description es-rollover-hook.yml template does not support the
.Values.storage.elasticsearch.tls
settings, as implemented for example in es-rollover-cronjob.yaml.This creates a situation where
rollover-hook-init
cannot be used with a custom CA configured via parametersstorage.elasticsearch.tls
, as it will fall with an error of the missing certificate installed in ES_TLS_CA.If you try to use parameter
.Values.esRollover.extraSecretMounts
, it causes a conflict with the environment variable ES_TLS_CA.The only option left is not to use parameter
.Values.storage.elasticsearch.tls
, but to manually declareextraSecrets
andextraEnvs
for each chart microservice.I would like to correct this situation with a small edit.
Steps to reproduce
esRollover: enabled: true extraEnv:
Expected behavior
The
.Value.storage.elasticsearch.tls
parameter automatically adds the mounting of the specifiedSecret
to the executed es-rollover-hook.yml just as in the template es-rollover-cronjob.yamlRelevant log output
Screenshot
Additional context
No response
Jaeger backend version
v1.43
SDK
No response
Pipeline
No response
Stogage backend
Elasticsearch
Operating system
Linux
Deployment model
Kubernetes
Deployment configs
No response