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

7.8.0 Release #672

Closed
wants to merge 45 commits into from
Closed

7.8.0 Release #672

wants to merge 45 commits into from

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Jun 18, 2020

This PR prepare 7.8 branch for 7.8.0 release:

  • bump chart and Docker images version from 7.8.0-SNAPSHOT to 7.8.0
  • remove notices on README that this is a development branch and development branch specific install instructions

Note

  • remove notices on README that this is a development branch and development branch specific install instructions

This is required because released Helm charts will be packaged from this PR commit including the README files that will be available inside the chart packages and in Helm Hub pages (example: Elasticsearch chart page).

This change will be reverted in the next PR after release when we will bump 7.8 branch to 7.8.1-SNAPSHOT version.

mgreau and others added 30 commits April 9, 2020 16:55
We are starting using a git branching model like the Elastic Stack projects. 

This commit makes sure this `7.7` branch is using the 7.7.x-SNAPSHOT Docker images and  this branch will be used for the development and release processes  for the Helm Charts 7.7.x
The cluster names created for running tests can't contain the `.`
character which is part of the branch name.
For doing the integration tests some GKE clusters are created. There is
a dedicated job to cleanup these clusters at the end of the tests.
This commit fixes the Jenkins configuration to make sure this upstream
job (which does not need parameter) is triggered.
This commit updates the remaining links to GitHub and Jenkins which
had `master` as the branch name to 7.7
[helm] bump helm version to 2.16.6
* [script] Update bumper script to handle SNAPSHOT versions

This commit updates the `bumper.py` script to handle the
workflows for updating the versions to test staging artifacts
and before a release, for example:

- update 7.7.0-SNAPSHOT to 7.7.0 before tagging a release, by running
  `env BUMPER_VERSION_7="7.7.0" ./helpers/bumper.py`
- update 7.7.0-SNAPHSHOT to 7.7.0-abcdefgh for testing staging artifacts
by running:
  `env BUMPER_VERSION_7="7.7.0-abcdefgh" BUMPER_USE_STAGING_IMAGES="true" ./helpers/bumper.py`

For now this script do not handle the bump from 7.7.0 to 7.7.1-SNAPSHOT
for the next developement iteration after a release. In the meantime
this update should be done manually.
…c#582)

The multijob configuration for testing staging 7.7 artifacts was
referencing jobs from another branch. This commit makes sure the
configured jobs are all from the same git branch.
…ndom-key

Use busybox for key generation in testing
[metricbeat] split values for daemonset and deployment
[elasticsearch] Adds imagePullSecrets for test Pod
[elasticsearch] Set securityContext for test pod
Update defaults for extra values to support lists
[elasticsearch] update readiness probe endpoint
Added support for envFrom in apm-server, logstash, kibana and elasticsearch
[logstash] update doc and values.yaml for http.host issues
Doc improvements

- Reformat all `README.md` files
  - Fix typos and missing syntaxes)
  - Use Markdown implicit link names
  - Sort values in configuration tables
  - Limit lines to 80 characters (except for code blocks and tables)
  - Add table of content
- Fix default values descriptions
- Move testing instructions to `CONTRIBUTING.md` doc
- Move breaking changes notices to `BREAKING_CHANGES.md` doc
FAQ and examples improvements (elastic#598)

- Add missing section in contributing guide
- Add note about ECK
- Add more FAQ topics
- Document all examples
- NIT: fixes typos...
This commit initiates the 6.8 branch which will be dedicated to the 7.x.x releases for the Helm Charts. It will allow to:

- test this branch with the daily Stack Docker images 7.8.0-SNAPSHOT via dedicated Jenkins jobs
- test the staging 7.8.x Docker images before a release

This branch is based on https://github.com/elastic/helm-charts/tree/7.7/ which was initiated in elastic#541.

Also related to elastic#602.
…c.selector.matchLabels (elastic#622)

This fix metricbeat chart upgrades when .Chart.Version change.

UPGRADE FAILED
Error: Deployment.apps "metricbeat-metricbeat-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"metricbeat-metricbeat-metrics", "chart":"metricbeat-7.7.0", "heritage":"Tiller", "release":"metricbeat"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
Error: UPGRADE FAILED: Deployment.apps "metricbeat-metricbeat-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"metricbeat-metricbeat-metrics", "chart":"metricbeat-7.7.0", "heritage":"Tiller", "release":"metricbeat"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

See helm/charts#7680 for more details
jmlrt and others added 15 commits May 28, 2020 17:43
…lastic#624)

This commit fix a bug introduced in elastic#572 where Metricbeat deployment doesn't start after an upgrade from a previous version when using a custom metricbeatConfig.
* Add ability to set the file permissions when mounting a secret

* Added test for defaultMode on secret mount
Common labels were moved to helpers template to have only one source of truth of common/added labels shared between all Kibana resources.

Also, this extends the capability to add a custom label and this will be common between all the resources.
* add CI tests for GKE 1.16
* test Elasticsearch upgrade from 7.4.0 on K8S 1.16 due to previous version of Elasticsearch chart not compatible with K8S 1.16 (see elastic#635 (comment))
* move Elasticsearch upgrade test logic to dedicated shell script to improve error handling
* add jq to Docker image
According to https://github.com/helm/charts/blob/master/REVIEW_GUIDELINES.md, service selector should not contain heritage.

It would break (future) migration from helm 2 to helm 3 (during the rolling update only, there could be a downtime when only old nodes are ready but new services is there).
This commit initiates the 7.8 branch which will be dedicated to the 7.8.x releases for the Helm Charts. It will allow to:

- test this branch with the daily Stack Docker images 7.8.0-SNAPSHOT via dedicated Jenkins jobs
- test the staging 7.8.x Docker images before a release

This branch is based on [7.x](https://github.com/elastic/helm-charts/tree/7.x/)
…mes (elastic#542)

Prevents very long startup times when the namespace contains many services. Only valid for kubernetes versions >1.13
This commit makes probes customizable using values.
The values where already partly existing but weren't used
in the deployment template.
This commit add a security example to use Logstash Helm chart and Elasticsearch Helm chart with TLS encryption.
@jmlrt jmlrt added the meta label Jun 18, 2020
@jmlrt jmlrt requested a review from a team June 18, 2020 14:00
@jmlrt jmlrt closed this Jun 18, 2020
@jmlrt
Copy link
Member Author

jmlrt commented Jun 18, 2020

Created on the wrong branch :(

@jmlrt jmlrt mentioned this pull request Jun 18, 2020
@jmlrt jmlrt deleted the 780-release branch June 18, 2020 15:14
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.

9 participants