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

Add extraContainers parameter to helm chart #975

Merged
merged 12 commits into from
Oct 11, 2022
Merged

Add extraContainers parameter to helm chart #975

merged 12 commits into from
Oct 11, 2022

Conversation

Kasape
Copy link
Contributor

@Kasape Kasape commented Oct 11, 2022

Description

Parameter extraContainers was added to values.yaml in helm chart and it is passed to the definition of deployment. It allows a user to define additional containers running in the same pod next to the elastalert container. An example of an additional running container is a sidecar that shares mounted volume with the elastalert and changes the content of the folder with rules. The same methodology and notation are used in grafana helm-chart.

Checklist

  • I have reviewed the contributing guidelines.
  • I have included unit tests for my changes or additions.
  • I have successfully run make test-docker with my changes.
  • I have manually tested all relevant modes of the change in this PR.
  • I have updated the documentation.
  • I have updated the changelog.

Questions or Comments

Copy link
Owner

@jertel jertel left a comment

Choose a reason for hiding this comment

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

There are some minor adjustments requested. Once you correct those we'll get this merged in. Thanks!

CHANGELOG.md Outdated
@@ -9,6 +9,7 @@
## Other changes
- Upgrade pylint 2.15.2 to 2.15.3 and pytest-cov 3.0.0 to 4.0.0 and sphinx 5.1.1 to 5.2.3; Add Google Chat proxy support - [#972](https://github.com/jertel/elastalert2/pull/972) - @nsano-rururu
- Fix Jira assign issue - [#974](https://github.com/jertel/elastalert2/pull/974) - @jorge-gyant
- Add extraContainers value to helm chart
Copy link
Owner

Choose a reason for hiding this comment

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

Please fix formatting of changelog:

- [Kubernetes] Add extraContainers value to helm chart - [#975](https://github.com/jertel/elastalert2/pull/975) - @Kasape

@@ -78,6 +78,7 @@ The command removes all the Kubernetes components associated with the chart and
| `secretRulesName` | name of the secret which holds the ElastAlert rules. **Note:** this will overwrite the generated rules | `NULL` |
| `secretRulesList` | a list of rules to enable from the secret | [] |
| `optEnv` | Additional pod environment variable definitions | [] |
| `extraContainers` | List of additional containers run in the same pod as elasticalert | [] |
Copy link
Owner

Choose a reason for hiding this comment

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

Fix typo. Should be elastalert, not elasticalert

chart/elastalert2/values.yaml Outdated Show resolved Hide resolved
@Kasape
Copy link
Contributor Author

Kasape commented Oct 11, 2022

Fixed, thanks for your comments

Copy link
Owner

@jertel jertel left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@jertel jertel merged commit 1799cec into jertel:master Oct 11, 2022
@Kasape
Copy link
Contributor Author

Kasape commented Oct 13, 2022

Hi @jertel, could you please create a new release to include this change? I would really appreciate having this functionality in a helm chart. Thank you

@jertel
Copy link
Owner

jertel commented Oct 16, 2022

Hi @jertel, could you please create a new release to include this change? I would really appreciate having this functionality in a helm chart. Thank you

Hi Kasape, I should be able to release the next version within the next week or so.

@jertel
Copy link
Owner

jertel commented Oct 21, 2022

2.8.0 has been released and includes this change.

@Kasape
Copy link
Contributor Author

Kasape commented Oct 21, 2022

Thank you, I will use it

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants