Open hobti01 opened 1 year ago
[Triage] @hobti01 What is the cause/use case of creating an empty keystore? @prudhvigodithi
I propose there are two issues here:
In order to add sensitive data a Secret must exist before deploying the chart.
There may be several cases where the Secret has no data:
Describe the bug When a keystore secret is configured and it does not have any entries, the shell script incorrectly attempts to import a non-existent file due to fileglobbing.
To Reproduce Steps to reproduce the behavior:
Create a Kubernetes Secret with no data
Configure a keystore secret
Deploy the chart and observe CrashLoop from the keystore init container. Logs:
Expected behavior No CrashLoop
Chart Name opensearch
Screenshots N/A
Host/Environment (please complete the following information):
Additional context N/A