opensearch-project / helm-charts

:wheel_of_dharma: A community repository for Helm Charts of OpenSearch Project.
https://opensearch.org/docs/latest/opensearch/install/helm/
Apache License 2.0
170 stars 228 forks source link

[BUG][Opensarch] Install the repository-s3 plugin to take and restore snapshots #461

Closed Ekko-liu closed 1 year ago

Ekko-liu commented 1 year ago

Describe the bug Enabled keystore and specify existed secretname, opensearch pod failed to bring up

To Reproduce Steps to reproduce the behavior:

  1. Created opensearch.keystore file by opensearch-keystore command
  2. Created secret
    kubectl create secret generic opkeystore --from-file=./opensearch.keystore -n test-ns
  3. Enable keystore and specify secretName in the values.yaml
    keystore:
    - secretName: opkeystore
  4. Helm upgrade
  5. See error

Expected behavior Register the repository and take the snapshot

Chart Name templates/statefulset.yaml values.yaml

Screenshots image

Host/Environment (please complete the following information):

Additional context Add any other context about the problem here.

zelinh commented 1 year ago

[Triage] Could you try to follow these steps here and see if the issue persists?

Ekko-liu commented 1 year ago

Hi zelinh, Thank you so much for the update, the issue was fixed.