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

Update Helm release elasticsearch to v21 #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 2, 2024

This PR contains the following updates:

Package Update Change
elasticsearch (source) major 19.17.0 -> 21.4.7

Release Notes

bitnami/charts (elasticsearch)

v21.4.7

  • [bitnami/elasticsearch] fix: 🐛 Mount emptyDir in /bitnami/elasticsear… (#​31607)

v21.4.6

v21.4.5

v21.4.4

v21.4.3

v21.4.2

v21.4.1

v21.4.0

v21.3.26

v21.3.25

v21.3.24

v21.3.23

v21.3.22

v21.3.21

v21.3.20

v21.3.19

v21.3.18

v21.3.17

v21.3.16

v21.3.15

v21.3.14

v21.3.13

v21.3.12

v21.3.11

  • [bitnami/elasticsearch:21.3.10] Unable to copy tls certificates when sysctlImage is disabled (#​2918 (f3e72bb), closes #​29189

v21.3.10

v21.3.9

v21.3.8

v21.3.7

v21.3.6

v21.3.5

v21.3.4

v21.3.3

v21.3.2

v21.3.1

v21.3.0

  • [bitnami/elasticsearch] add persistentVolumeClaimRetentionPolicy to statefulset for master and data (2c4b4f2), closes #​27866

v21.2.8

v21.2.7

v21.2.6

v21.2.5

v21.2.4

v21.2.3

v21.2.2

v21.2.1

v21.2.0

v21.1.3

v21.1.2

v21.1.1

v21.1.0

v21.0.7

v21.0.6

v21.0.5

v21.0.4

v21.0.3

v21.0.2

v21.0.1

v21.0.0

v20.0.4

v20.0.3

v20.0.2

v20.0.1

v20.0.0

v19.21.2

v19.21.1

v19.21.0

v19.20.0

  • [bitnami/elasticsearch] feat: ✨ 🔒 Add automatic adaptation for Openshift restricted-v2 (7888f4c), closes #​24078

v19.19.4

v19.19.3

v19.19.2

v19.19.1

v19.18.0

v19.17.6

v19.17.5

v19.17.4

v19.17.3

v19.17.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch 3 times, most recently from 12b9264 to 617b32e Compare October 9, 2024 00:30
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from 617b32e to 5f99742 Compare October 17, 2024 20:28
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch 3 times, most recently from 8d5449c to a6d54ef Compare November 15, 2024 17:11
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from a6d54ef to fed86e4 Compare November 22, 2024 17:38
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch 2 times, most recently from 386c828 to a65e065 Compare December 12, 2024 21:35
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from a65e065 to d9f62d6 Compare January 8, 2025 16:44
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from d9f62d6 to 19e19d8 Compare January 21, 2025 23:00
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from 19e19d8 to cb4c9de Compare January 29, 2025 18:56
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from cb4c9de to eaf60ee Compare February 11, 2025 18:38
Copy link
Contributor

coderabbitai bot commented Feb 11, 2025

Walkthrough

The update modifies the configuration for the application by changing the version number of the Elasticsearch dependency in the YAML configuration file. The version has been updated from 19.17.0 to 21.4.7 while all other fields remain unchanged.

Changes

File Path Change Summary
charts/dave/Chart.yaml Updated the elasticsearch dependency version from 19.17.0 to 21.4.7

Sequence Diagram(s)

(No sequence diagram necessary as the changes only involve a configuration update.)

Poem

I'm a bunny, hopping with cheer,
A new version now crystal clear.
Dependencies updated, crisp and bright,
My little code garden feels just right.
Here's to changes that make our future light!
🐇✨


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1b55ea8 and 2c498c0.

⛔ Files ignored due to path filters (1)
  • charts/dave/Chart.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • charts/dave/Chart.yaml (1 hunks)
🔇 Additional comments (1)
charts/dave/Chart.yaml (1)

17-19: Resolve Elasticsearch Version Mismatch

The PR objectives specify updating Elasticsearch from 19.17.0 to version 21.4.6, whereas this file now uses 21.4.7. Please verify the intended target version and update the PR documentation and/or this dependency accordingly to ensure consistency.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 53aa326 and eaf60ee.

⛔ Files ignored due to path filters (1)
  • charts/dave/Chart.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • charts/dave/Chart.yaml (1 hunks)
🔇 Additional comments (1)
charts/dave/Chart.yaml (1)

16-32: Major version upgrade requires careful review of breaking changes.

This is a significant version jump from 19.x.x to 21.x.x. Please ensure:

  1. Review the release notes for any breaking changes
  2. Verify compatibility with other dependencies (postgresql, backend, frontend, etc.)
  3. Consider testing the upgrade path in a non-production environment first

Let's check for any compatibility information or known issues:

✅ Verification successful

🌐 Web query:

What are the breaking changes in Elasticsearch Helm chart version 21.x.x compared to 19.x.x?

💡 Result:

The transition from Elasticsearch Helm chart version 19.x.x to 21.x.x (specifically Bitnami-maintained charts) introduces several breaking changes based on license updates and architectural shifts:


Key Breaking Changes

1. License Model Shift

  • Elastic License Adoption: Starting with 19.21.2, Elasticsearch components moved under the Elastic License (non-Open Source), replacing OSS distributions[4][7]. This affects deployments relying on open-source Elasticsearch/Kibana versions.

2. Security Enabled by Default

  • Mandatory TLS & Authentication: From version 8.0.0+, security features (TLS encryption and authentication) are auto-configured by default[1].
    • Older configurations disabling security (security.enabled=false) are no longer supported.
    • Charts now auto-generate credentials/TLS certificates unless custom ones are provided via security.* values[1].

3. Service Account Token for Kibana

  • Kibana now requires a service account token (instead of the elastic superuser) to connect to secured Elasticsearch clusters[1].
  • The Helm chart automatically creates this token via a pre-install hook[1].

4. Node Roles Configuration

  • In 8.5.1+, Elasticsearch node roles are defined as a simple list (e.g., ["master", "data"]) instead of a dictionary[1].
  • All roles from Elasticsearch’s documentation are supported.

5. Kubernetes Version Support

  • Support for Kubernetes 1.19 and 1.20 was dropped[1].
  • Added support for 1.23 and 1.24[1].

6. APM Server OSS Removal

  • APM Server OSS distribution was removed starting with 8.0.0[1]. Only non-OSS versions are available.

7.Helm Chart Repository Changes

  • The original Elastic Helm charts repository was archived after 8.5.1[1], with users migrating to alternatives like Bitnami’s charts.

Upgrade Considerations

  • Cluster Migration: Existing clusters with security disabled require reconfiguration to enable TLS/authentication.
  • Kibana Connection: Ensure service account tokens are correctly generated during upgrades.
  • Node Roles: Update role definitions from dictionaries to lists.
  • License Compliance: Verify compliance with the Elastic License for production use[4][7].

For detailed steps, refer to the Elastic Helm Charts migration guide[1].

Citations:


Elasticsearch Helm Chart Upgrade – Breaking Changes Confirmed

The breaking changes outlined in the web query are indeed significant for version 21.x.x compared to 19.x.x. Please keep the following in mind:

  • License Model Shift: The chart now uses the Elastic License instead of an OSS distribution, which may affect deployments expecting open-source behavior.
  • Security Enabled by Default: TLS encryption and authentication are auto-configured. Any previous configuration that disabled security will no longer work.
  • Kibana Connectivity: Kibana now requires a service account token instead of the default elastic superuser, necessitating updates to your connection settings.
  • Node Roles Configuration: Node roles are now defined as a simple list rather than a dictionary, meaning your configuration for node roles might need adjustment.
  • Kubernetes Version Support: Support for Kubernetes versions 1.19 and 1.20 has been dropped in favor of newer versions (1.23, 1.24).
  • APM Server OSS Removal: If you rely on APM Server OSS, note that only non-OSS variants are available.

Ensure compatibility with your other dependencies (postgresql, backend, frontend, etc.) and test the upgrade path in a non-production environment before rolling it out to production.

@@ -16,7 +16,7 @@ sources:
dependencies:
- name: elasticsearch
repository: https://charts.bitnami.com/bitnami
version: 19.17.0
version: 21.4.5
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Version discrepancy detected between PR description and code.

The PR description mentions updating to version 21.4.4, but the code shows 21.4.5. Please verify the intended version.

Let's check the latest available versions and their release dates:


🏁 Script executed:

#!/bin/bash
# Description: Check latest versions of the elasticsearch helm chart

# Get latest versions from Bitnami charts repository
curl -s https://raw.githubusercontent.com/bitnami/charts/master/bitnami/elasticsearch/Chart.yaml | grep "version:"

Length of output: 165


Discrepancy: PR Description vs. Updated Version

The file charts/dave/Chart.yaml now shows the dependency version as 21.4.5, which aligns with the version provided upstream (as confirmed by the Bitnami repository). However, the PR objectives mention version 21.4.4. Please verify and update the PR description/documentation to reflect the correct intended version.

  • File: charts/dave/Chart.yaml
  • Impact: Version mismatch in documentation versus code, which could lead to confusion during testing and deployment.

@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from eaf60ee to 1b55ea8 Compare February 21, 2025 20:45
@renovate renovate bot force-pushed the renovate/elasticsearch-21.x branch from 1b55ea8 to 2c498c0 Compare February 27, 2025 17:59
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.

1 participant