Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Support creating k8s helm secrets for logstash helm chart #705 #712

Merged
merged 8 commits into from
Jul 8, 2020
Merged

Support creating k8s helm secrets for logstash helm chart #705 #712

merged 8 commits into from
Jul 8, 2020

Conversation

kksudo
Copy link
Contributor

@kksudo kksudo commented Jul 5, 2020

Describe the change
Added the helm chart for create secrets in k8s

  • Chart version not bumped (the versions are all bumped and released at the same time)
  • README.md updated with any new values or changes
  • Updated template tests in ${CHART}/tests/*.py
  • Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Linked issue

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented Jul 5, 2020

💚 CLA has been signed

@kksudo
Copy link
Contributor Author

kksudo commented Jul 5, 2020

If it's make sense, I could prepare PR for the other elk helm charts (kibana etc)

@kksudo kksudo changed the title Feature/secrets support issue 705 Support creating k8s helm secrets for logstash helm chart #705 Jul 5, 2020
@kksudo
Copy link
Contributor Author

kksudo commented Jul 6, 2020

jenkins test this please

@kksudo
Copy link
Contributor Author

kksudo commented Jul 6, 2020

Jenkins test this please

@kksudo
Copy link
Contributor Author

kksudo commented Jul 6, 2020

@jmlrt Could you run Jenkins pipeline please ?

@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 7, 2020

Jenkins test this please

@fatmcgav fatmcgav added enhancement New feature or request logstash labels Jul 7, 2020
Copy link
Contributor

@fatmcgav fatmcgav left a comment

Choose a reason for hiding this comment

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

@kksudo Thank you for taking the time to open this PR, and add some really good tests.

I've got a couple of small comments, but otherwise this is looking pretty solid.

logstash/README.md Outdated Show resolved Hide resolved
logstash/tests/logstash_test.py Outdated Show resolved Hide resolved
logstash/values.yaml Outdated Show resolved Hide resolved
kksudo and others added 4 commits July 7, 2020 13:24
Correction in the wording

Co-authored-by: Gavin Williams <fatmcgav@gmail.com>
…ad of strings;

removed unused import statement 'import yaml'
@kksudo
Copy link
Contributor Author

kksudo commented Jul 7, 2020

@fatmcgav Could you run Jenkins pipeline again please ?

@kksudo kksudo requested a review from fatmcgav July 7, 2020 20:14
@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 8, 2020

Jenkins test this please

@kksudo
Copy link
Contributor Author

kksudo commented Jul 8, 2020

The Jenkins integration test was failing, command in pipeline can't install helm chart, without any error message. Could you describe, where is problem ?

09:57:48 Release "helm-logstash-default" does not exist. Installing it now.
10:12:49 Error: release helm-logstash-default failed: timed out waiting for the condition
10:12:49 make[1]: Leaving directory '/app/logstash/examples/default'
10:12:49 make[1]: *** [install] Error 1
10:12:49 make: *** [integration] Error 2

@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 8, 2020

So that failure appears to be due to #663, rather than anything you've changed @kksudo, so no need to worry there...

Copy link
Contributor

@fatmcgav fatmcgav left a comment

Choose a reason for hiding this comment

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

LGTM

@fatmcgav fatmcgav merged commit 917187d into elastic:master Jul 8, 2020
fatmcgav added a commit that referenced this pull request Jul 8, 2020
Co-authored-by: Gavin Williams <fatmcgav@gmail.com>
fatmcgav added a commit that referenced this pull request Jul 8, 2020
Co-authored-by: Gavin Williams <fatmcgav@gmail.com>
fatmcgav added a commit that referenced this pull request Jul 8, 2020
Co-authored-by: Gavin Williams <fatmcgav@gmail.com>
@kksudo kksudo deleted the feature/secrets-support-issue-705 branch July 8, 2020 10:22
@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 8, 2020

Thanks for the contribution @kksudo

I've back-ported the changes onto the 7.8 and 6.8 release branches, so these changes will be included in the next patch releases of the logstash helm chart.

@jmlrt jmlrt removed the v7.9.0 label Jul 13, 2020
This was referenced Jul 16, 2020
This was referenced Jul 27, 2020
@erihanse erihanse mentioned this pull request Aug 13, 2020
4 tasks
@jmlrt jmlrt mentioned this pull request Oct 28, 2020
This was referenced Nov 17, 2020
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
This was referenced Mar 15, 2021
@jmlrt jmlrt mentioned this pull request May 25, 2021
@jmlrt jmlrt mentioned this pull request Mar 8, 2022
@jmlrt jmlrt mentioned this pull request Apr 21, 2022
This was referenced Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants