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

[8.x](backport #6293) chore: update version and appVersion in the elastic-agent helm chart #6354

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 17, 2024

What does this PR do?

This PR extends the logic of mage helm:updateAgentVersion to include updating the version (chart version) and appVersion keys in the Chart.yaml of the Elastic-Agent Helm chart. Note that since the chart is not yet GA for the chart version we always append -SNAPSHOT to mark it as devel. This will have to change when we reach the version that the Helm chart is GA.

Why is it important?

It is important because it sets correctly the chart and the app version in the Chart.yaml of the Elastic-Agent Helm chart and this is required before being able to release the Helm chart.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

N/A

How to test this PR locally

change either or both version and appVersion in deploy/helm/elastic-agent/Chart.yaml and then run mage helm:updateAgentVersion. The two fields will get updated to reflect the correct values based on the branch you are.

Related issues


This is an automatic backport of pull request #6293 done by [Mergify](https://mergify.com).

…6293)

* chore: update version and appVersion in the elastic-agent helm chart

* chore: render examples

* fix: correct agentVersion

* fix: mark elastic-agent helm chart with -beta suffix

* fix: update chart version and render examples

(cherry picked from commit df2786f)
@mergify mergify bot requested a review from a team as a code owner December 17, 2024 14:45
@mergify mergify bot added the backport label Dec 17, 2024
@mergify mergify bot requested review from michalpristas and kaanyalti and removed request for a team December 17, 2024 14:45
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@pkoutsovasilis pkoutsovasilis merged commit e803cd2 into 8.x Dec 18, 2024
13 checks passed
@pkoutsovasilis pkoutsovasilis deleted the mergify/bp/8.x/pr-6293 branch December 18, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants