Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow security plugin's install_demo_configuration to write to opensearch.yml #620

Closed
wants to merge 5 commits into from

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Nov 21, 2024

Description

This PR comments out the demo configuration values for the security plugin in values.yaml of the opensearch chart. When a pod is spun up, it runs the install_demo_configuration script which will write these values into opensearch.yml so the helm chart does not need to explicitly include these. Leaving these values in as a comment so users of the chart know what to replace when configuring security.

Tested by modifying the values.yaml of the opensearch chart and ensuring a cluster boots up properly after running:

helm install -f ./charts/opensearch/values.yaml opensearch opensearch/opensearch

Issues Resolved

Resolves: opensearch-project/security#4923

Check List

  • Commits are signed per the DCO using --signoff

For any changes to files within Helm chart directories:

  • Helm chart version bumped
  • Helm chart CHANGELOG.md updated to reflect change

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks cwperks changed the title Allow security plugin's install_demo_configuration write to opensearch.yml Allow security plugin's install_demo_configuration to write to opensearch.yml Nov 21, 2024
@cwperks
Copy link
Member Author

cwperks commented Nov 21, 2024

Closing this as duplicate of #618

@cwperks cwperks closed this Nov 21, 2024
Signed-off-by: Craig Perkins <[email protected]>
@cwperks cwperks reopened this Nov 21, 2024
@cwperks
Copy link
Member Author

cwperks commented Nov 21, 2024

Re-opened temporarily to verify CI checks.

Signed-off-by: Craig Perkins <[email protected]>
@cwperks cwperks marked this pull request as draft November 21, 2024 23:04
@cwperks cwperks closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[BUG] opensearch (sec plugin) crashes after upgrading to 2.18.0 with Unable to read the file root-ca.pem
1 participant