Skip to content

refactor(opensearch): set snapshot-lifecycle clusterHost default#1739

Open
joluc wants to merge 1 commit into
mainfrom
chore/opensearch-snapshot-lifecycle-host-default
Open

refactor(opensearch): set snapshot-lifecycle clusterHost default#1739
joluc wants to merge 1 commit into
mainfrom
chore/opensearch-snapshot-lifecycle-host-default

Conversation

@joluc

@joluc joluc commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Pull Request Details

move clusterHost go template from values.yaml to manifest

…in template

Signed-off-by: Jonathan Schwarze <jonathan.schwarze@sap.com>
Copilot AI review requested due to automatic review settings June 18, 2026 19:29
@joluc joluc requested a review from a team as a code owner June 18, 2026 19:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the OpenSearch Helm chart’s snapshot-lifecycle clusterHost default so it is computed in the manifest (template) instead of being a templated string in values.yaml, and bumps the chart/plugin versions accordingly.

Changes:

  • Move the default cluster.snapshotLifecycle.clusterHost computation from values.yaml into templates/snapshot-lifecycle.yaml.
  • Update documentation to reflect clusterHost: "" meaning “use in-cluster service default”.
  • Bump OpenSearch chart and PluginDefinition versions from 0.2.4 to 0.2.6.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
opensearch/README.md Updates value documentation for cluster.snapshotLifecycle.clusterHost default/behavior.
opensearch/plugindefinition.yaml Bumps PluginDefinition and referenced chart version to 0.2.6.
opensearch/chart/values.yaml Changes cluster.snapshotLifecycle.clusterHost default to empty string and updates comments.
opensearch/chart/templates/snapshot-lifecycle.yaml Computes default in template and wires CLUSTER_HOST env var from computed value.
opensearch/chart/Chart.yaml Bumps chart version to 0.2.6.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 27 to +28
- name: CLUSTER_HOST
value: {{ tpl $cfg.clusterHost .root | quote }}
value: {{ .clusterHost | quote }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants