diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..f104aeb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "spellright.language": [ + "en_GB" + ], + "spellright.documentTypes": [ + "markdown", + "latex", + "plaintext" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index d45525f..a47d19d 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,17 @@ Create changelogs for Helm Charts, based on git history +## Examples + +This repository contains a set of example changelogs created for the github.com/elastic/helm-charts charts. + + - [apm-server](https://github.com/mogensen/helm-changelog/tree/main/examples/apm-server.md) + - [elasticsearch](https://github.com/mogensen/helm-changelog/tree/main/examples/elasticsearch.md) + - [filebeat](https://github.com/mogensen/helm-changelog/tree/main/examples/filebeat.md) + - [kibana](https://github.com/mogensen/helm-changelog/tree/main/examples/kibana.md) + - [logstash](https://github.com/mogensen/helm-changelog/tree/main/examples/logstash.md) + - [metricbeat](https://github.com/mogensen/helm-changelog/tree/main/examples/metricbeat.md) + ## Installation All relevant commands are added to the `Makefile` @@ -71,7 +82,7 @@ $ docker run -it --rm -v $(pwd):/data mogensen/helm-changelog:latest ``` The helm-changelog app is running as a non-root user. -This is a security best-practice. If user `1000` does not have write access to the chart dir, you may need to run the container as an other user. +This is a security best-practice. If user `1000` does not have write access to the chart directory, you may need to run the container as an other user. ```bash diff --git a/README.tmpl.md b/README.tmpl.md index 5e48584..d54e7ca 100644 --- a/README.tmpl.md +++ b/README.tmpl.md @@ -5,6 +5,17 @@ Create changelogs for Helm Charts, based on git history +## Examples + +This repository contains a set of example changelogs created for the github.com/elastic/helm-charts charts. + + - [apm-server](https://github.com/mogensen/helm-changelog/tree/main/examples/apm-server.md) + - [elasticsearch](https://github.com/mogensen/helm-changelog/tree/main/examples/elasticsearch.md) + - [filebeat](https://github.com/mogensen/helm-changelog/tree/main/examples/filebeat.md) + - [kibana](https://github.com/mogensen/helm-changelog/tree/main/examples/kibana.md) + - [logstash](https://github.com/mogensen/helm-changelog/tree/main/examples/logstash.md) + - [metricbeat](https://github.com/mogensen/helm-changelog/tree/main/examples/metricbeat.md) + ## Installation All relevant commands are added to the `Makefile` @@ -49,7 +60,7 @@ $ docker run -it --rm -v $(pwd):/data mogensen/helm-changelog:latest ``` The helm-changelog app is running as a non-root user. -This is a security best-practice. If user `1000` does not have write access to the chart dir, you may need to run the container as an other user. +This is a security best-practice. If user `1000` does not have write access to the chart directory, you may need to run the container as an other user. ```bash diff --git a/examples/apm-server.md b/examples/apm-server.md new file mode 100644 index 0000000..dcfe2ef --- /dev/null +++ b/examples/apm-server.md @@ -0,0 +1,593 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [apm-server] Add option loadBalancerIP to service (#1075) +* [elasticsearch][kibana] remove oss examples (#1046) +* [meta] add build status and artifact hub badges (#1033) +* [apm-server] run as non root user (#996) +* [all] add hostaliases (#970) +* [apm-server] Add missing fields to HPA (#782) +* [meta] stabilize CI tests (#935) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* [meta] update rbac.authorization.k8s.io api (#890) +* Add warning comment placeholder (main branch) (#886) +* Update warning on charts readme (#863) +* [meta] update changelog for 7.9.2 release (#824) +* Fix serviceAccount for APM server (#786) +* Remove duplicate "initialDelaySeconds" field (#763) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* [doc] fix some links (#737) + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 55b3d06a..fa8a2e95 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -61,6 +61,12 @@ extraVolumes: [] + # - name: extras + # emptyDir: {} + ++hostAliases: [] ++#- ip: "127.0.0.1" ++# hostnames: ++# - "foo.local" ++# - "bar.local" ++ + image: "docker.elastic.co/apm/apm-server" + imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" +@@ -76,8 +82,15 @@ podAnnotations: {} + labels: {} + + podSecurityContext: +- runAsUser: 0 ++ fsGroup: 1000 ++ runAsUser: 1000 ++ runAsGroup: 0 ++ ++securityContext: + privileged: false ++ runAsNonRoot: true ++ runAsUser: 1000 ++ runAsGroup: 0 + + livenessProbe: + httpGet: +@@ -85,7 +98,6 @@ livenessProbe: + port: http + initialDelaySeconds: 30 + failureThreshold: 3 +- initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +@@ -95,7 +107,6 @@ readinessProbe: + port: http + initialDelaySeconds: 30 + failureThreshold: 3 +- initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +@@ -142,6 +153,9 @@ fullnameOverride: "" + + autoscaling: + enabled: false ++ minReplicas: 1 ++ maxReplicas: 3 ++ averageCpuUtilization: 50 + + ingress: + enabled: false +@@ -158,6 +172,7 @@ ingress: + + service: + type: ClusterIP ++ loadBalancerIP: "" + port: 8200 + nodePort: "" + annotations: {} +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) +* Add ServiceAccount annotations (#686) +* [apm-server] allow customizing probes (#671) +* [apm-server] increase memory limit (#664) + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 2d2b9314..55b3d06a 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -62,7 +62,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -80,12 +80,20 @@ podSecurityContext: + privileged: false + + livenessProbe: ++ httpGet: ++ path: / ++ port: http ++ initialDelaySeconds: 30 + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + + readinessProbe: ++ httpGet: ++ path: / ++ port: http ++ initialDelaySeconds: 30 + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 +@@ -97,11 +105,15 @@ resources: + memory: "100Mi" + limits: + cpu: "1000m" +- memory: "200Mi" ++ memory: "512Mi" + + # Custom service account override that the pod will use + serviceAccount: "" + ++# Annotations to add to the ServiceAccount that is created if the serviceAccount value isn't set. ++serviceAccountAnnotations: {} ++ # eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount ++ + # A list of secrets and their paths to mount inside the pod + secretMounts: [] + # - name: elastic-certificate-pem +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 22bdf745..2d2b9314 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -62,7 +62,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* Merge branch 'master' into doc-improvements +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [apm-server] update default values +* [apm-server] format README +* [apm-server] Add envFrom parameter + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index f1af513e..22bdf745 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -45,6 +45,13 @@ extraEnvs: [] + # name: elastic-credentials + # key: password + ++# Allows you to load environment variables from kubernetes secret or config map ++envFrom: [] ++# - secretRef: ++# name: env-secret ++# - configMapRef: ++# name: config-map ++ + extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras +@@ -55,7 +62,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version +* fix apiVersion of HPA +* [apm-server]Fix fullnameOverride setting (#508) + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 342cfee7..f1af513e 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -55,7 +55,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version +* Fix template name + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index b6c30c29..342cfee7 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -55,7 +55,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [apm-server] add extra init container +* [apm-server] add empty value to node port +* [apm-server] add extracontainers +* [apm-server] fix oss image name +* [apm-server] fix goss http test +* [apm-server] update doc + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 187454bf..b6c30c29 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -20,6 +20,16 @@ apmConfig: + + replicas: 1 + ++extraContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ ++extraInitContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ + # Extra environment variables to append to the DaemonSet pod spec. + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -45,7 +55,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -130,7 +140,7 @@ ingress: + service: + type: ClusterIP + port: 8200 +- nodePort: ++ nodePort: "" + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 +``` + +## 7.5.2 + +**Release date:** 2020-01-24 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [apm-server] bump to 7.5.2 +* address the last few (hopefully) comments + +### Default value changes + +```diff +diff --git a/apm-server/values.yaml b/apm-server/values.yaml +index 18b41d2d..187454bf 100755 +--- a/apm-server/values.yaml ++++ b/apm-server/values.yaml +@@ -45,7 +45,7 @@ extraVolumes: [] + # emptyDir: {} + + image: "docker.elastic.co/apm/apm-server" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -74,13 +74,13 @@ readinessProbe: + periodSeconds: 10 + timeoutSeconds: 5 + +-resources: {} +- # requests: +- # cpu: "100m" +- # memory: "100Mi" +- # limits: +- # cpu: "1000m" +- # memory: "200Mi" ++resources: ++ requests: ++ cpu: "100m" ++ memory: "100Mi" ++ limits: ++ cpu: "1000m" ++ memory: "200Mi" + + # Custom service account override that the pod will use + serviceAccount: "" +``` + +## 7.5.1 + +**Release date:** 2020-01-17 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* add apm-server helm chart + +### Default value changes + +```diff +--- +# Allows you to add config files +apmConfig: + apm-server.yml: | + apm-server: + host: "0.0.0.0:8200" + + queue: {} + + output.elasticsearch: + hosts: ["http://elasticsearch-master:9200"] + ## If you have security enabled- you'll need to add the credentials + ## as environment variables + # username: "${ELASTICSEARCH_USERNAME}" + # password: "${ELASTICSEARCH_PASSWORD}" + ## If SSL is enabled + # protocol: https + # ssl.certificate_authorities: + # - /usr/share/apm-server/config/certs/elastic-ca.pem + +replicas: 1 + +# Extra environment variables to append to the DaemonSet pod spec. +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: [] + # - name: 'ELASTICSEARCH_USERNAME' + # valueFrom: + # secretKeyRef: + # name: elastic-credentials + # key: username + # - name: 'ELASTICSEARCH_PASSWORD' + # valueFrom: + # secretKeyRef: + # name: elastic-credentials + # key: password + +extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +extraVolumes: [] + # - name: extras + # emptyDir: {} + +image: "docker.elastic.co/apm/apm-server" +imageTag: "7.5.1" +imagePullPolicy: "IfNotPresent" +imagePullSecrets: [] + +# Whether this chart should self-manage its service account, role, and associated role binding. +managedServiceAccount: true + +podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +# additionals labels +labels: {} + +podSecurityContext: + runAsUser: 0 + privileged: false + +livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +resources: {} + # requests: + # cpu: "100m" + # memory: "100Mi" + # limits: + # cpu: "1000m" + # memory: "200Mi" + +# Custom service account override that the pod will use +serviceAccount: "" + +# A list of secrets and their paths to mount inside the pod +secretMounts: [] +# - name: elastic-certificate-pem +# secretName: elastic-certificates +# path: /usr/share/apm-server/config/certs + +terminationGracePeriod: 30 + +tolerations: [] + +nodeSelector: {} + +affinity: {} + +# This is the PriorityClass settings as defined in +# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass +priorityClassName: "" + +updateStrategy: + type: "RollingUpdate" + +# Override various naming aspects of this chart +# Only edit these if you know what you're doing +nameOverride: "" +fullnameOverride: "" + +autoscaling: + enabled: false + +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: / + hosts: + - chart-example.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +service: + type: ClusterIP + port: 8200 + nodePort: + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 + # service.beta.kubernetes.io/azure-load-balancer-internal: "true" + # service.beta.kubernetes.io/openstack-internal-load-balancer: "true" + # service.beta.kubernetes.io/cce-load-balancer-internal-vpc: "true" + +lifecycle: {} + # preStop: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] + # postStart: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/examples/elasticsearch.md b/examples/elasticsearch.md new file mode 100644 index 0000000..d374707 --- /dev/null +++ b/examples/elasticsearch.md @@ -0,0 +1,2887 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [elasticsearch] only configure ES_JAVA_OPTS when value is set (#1089) +* [elasticsearch] Mark esMajorVersion as deprecated (#1109) +* [elasticsearch] fix network policies http additional rules (#1111) +* [elasticsearch] Add namespace to helm test command in NOTES.txt (#1105) +* [elasticsearch][kibana] remove oss examples (#1046) +* fix: security.yaml is 404 (#1040) +* [meta] add build status and artifact hub badges (#1033) +* [elasticsearch] fix secrets in config example (#1012) +* Add support for NetworkPolicy. (#498) +* [elasticsearch][kibana] Add flexible ingress (#994) +* [all] add hostaliases (#970) +* elasticsearch: add emptyDir to podSecurityPolicy as allowed volume-type (#975) +* [meta] stabilize CI tests (#935) +* ES Statefulset empty initContainers fix (#795) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* [elasticsearch] Fix spelling (#897) +* [elasticsearch] update test hook annotations (#911) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* Add warning comment placeholder (main branch) (#886) +* [elasticsearch] add coordinator node to multi test (#854) +* Update warning on charts readme (#863) +* [elasticsearch][kibana] disable nss dentry cache (#818) +* [meta] update changelog for 7.9.2 release (#824) +* [elasticsearch] fix secrets names in examples (#811) +* Include pre-releases in the semver range. (#729) +* [elasticsearch] add loadBalancer externalTrafficPolicy option (#810) +* Missing deletion of "elastic-certificate-crt" (#752) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [doc] update doc links (#758) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* [doc] fix some links (#737) +* [elasticsearch] Update test image pull policy. (#727) +* [elasticsearch] _helpers.tpl - elasticsearch.endpoints to use elasticsearch.uname (#670) + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 42cefab1..9ef799b8 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -12,6 +12,8 @@ roles: + master: "true" + ingest: "true" + data: "true" ++ remote_cluster_client: "true" ++ ml: "true" + + replicas: 3 + minimumMasterNodes: 2 +@@ -50,6 +52,12 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + # defaultMode: 0755 + ++hostAliases: [] ++#- ip: "127.0.0.1" ++# hostnames: ++# - "foo.local" ++# - "bar.local" ++ + image: "docker.elastic.co/elasticsearch/elasticsearch" + imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" +@@ -60,7 +68,7 @@ podAnnotations: {} + # additionals labels + labels: {} + +-esJavaOpts: "-Xmx1g -Xms1g" ++esJavaOpts: "" # example: "-Xmx1g -Xms1g" + + resources: + requests: +@@ -116,11 +124,12 @@ podSecurityPolicy: + - secret + - configMap + - persistentVolumeClaim ++ - emptyDir + + persistence: + enabled: true + labels: +- # Add default labels for the volumeClaimTemplate fo the StatefulSet ++ # Add default labels for the volumeClaimTemplate of the StatefulSet + enabled: false + annotations: {} + +@@ -182,6 +191,7 @@ service: + transportPortName: transport + loadBalancerIP: "" + loadBalancerSourceRanges: [] ++ externalTrafficPolicy: "" + + updateStrategy: RollingUpdate + +@@ -233,9 +243,10 @@ ingress: + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" +- path: / + hosts: +- - chart-example.local ++ - host: chart-example.local ++ paths: ++ - path: / + tls: [] + # - secretName: chart-example-tls + # hosts: +@@ -272,6 +283,61 @@ sysctlInitContainer: + + keystore: [] + ++networkPolicy: ++ ## Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now. ++ ## In order for a Pod to access Elasticsearch, it needs to have the following label: ++ ## {{ template "uname" . }}-client: "true" ++ ## Example for default configuration to access HTTP port: ++ ## elasticsearch-master-http-client: "true" ++ ## Example for default configuration to access transport port: ++ ## elasticsearch-master-transport-client: "true" ++ ++ http: ++ enabled: false ++ ## if explicitNamespacesSelector is not set or set to {}, only client Pods being in the networkPolicy's namespace ++ ## and matching all criteria can reach the DB. ++ ## But sometimes, we want the Pods to be accessible to clients from other namespaces, in this case, we can use this ++ ## parameter to select these namespaces ++ ## ++ # explicitNamespacesSelector: ++ # # Accept from namespaces with all those different rules (only from whitelisted Pods) ++ # matchLabels: ++ # role: frontend ++ # matchExpressions: ++ # - {key: role, operator: In, values: [frontend]} ++ ++ ## Additional NetworkPolicy Ingress "from" rules to set. Note that all rules are OR-ed. ++ ## ++ # additionalRules: ++ # - podSelector: ++ # matchLabels: ++ # role: frontend ++ # - podSelector: ++ # matchExpressions: ++ # - key: role ++ # operator: In ++ # values: ++ # - frontend ++ ++ transport: ++ ## Note that all Elasticsearch Pods can talks to themselves using transport port even if enabled. ++ enabled: false ++ # explicitNamespacesSelector: ++ # matchLabels: ++ # role: frontend ++ # matchExpressions: ++ # - {key: role, operator: In, values: [frontend]} ++ # additionalRules: ++ # - podSelector: ++ # matchLabels: ++ # role: frontend ++ # - podSelector: ++ # matchExpressions: ++ # - key: role ++ # operator: In ++ # values: ++ # - frontend ++ + # Deprecated + # please use the above podSecurityContext.fsGroup instead + fsGroup: "" +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) +* Elasticsearch: set PVC labels through setting all StatefulSet labels to its volumeClaimTemplate (#665) +* Add ServiceAccount annotations (#686) +* podSecurityContext.runAsUser needs to be nulled as well for Openshift (#655) +* [logstash] add security example (#392) +* [elasticsearch] update kind example for version >= 0.7.0 (#669) +* [elasticsearch] Disable service links to prevent very long startup times (#542) +* Elasticsearch: do not include heritage selector (#437) + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index f5a162b9..42cefab1 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -51,7 +51,7 @@ secretMounts: [] + # defaultMode: 0755 + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -96,6 +96,7 @@ volumeClaimTemplate: + + rbac: + create: false ++ serviceAccountAnnotations: {} + serviceAccountName: "" + + podSecurityPolicy: +@@ -118,6 +119,9 @@ podSecurityPolicy: + + persistence: + enabled: true ++ labels: ++ # Add default labels for the volumeClaimTemplate fo the StatefulSet ++ enabled: false + annotations: {} + + extraVolumes: [] +@@ -159,6 +163,11 @@ nodeAffinity: {} + # the same time when bootstrapping the cluster + podManagementPolicy: "Parallel" + ++# The environment variables injected by service links are not used, but can lead to slow Elasticsearch boot times when ++# there are many services in the current namespace. ++# If you experience slow pod startups you probably want to set this to `false`. ++enableServiceLinks: true ++ + protocol: http + httpPort: 9200 + transportPort: 9300 +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) +* [meta] add support for k8s 1.16 (#635) +* Elasticsearch secret mountmode (#596) +* [elasticsearch] Fix issue with `readinessProbe` causing outages (#638) +* Fix values links in examples/multi/README.md (#639) + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 0029b992..f5a162b9 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -48,9 +48,10 @@ secretMounts: [] + # - name: elastic-certificates + # secretName: elastic-certificates + # path: /usr/share/elasticsearch/config/certs ++# defaultMode: 0755 + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* Merge branch 'master' into doc-improvements +* nit, add missing trailing lines +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [elasticseach] move deprecated value +* [elasticsearch] update default values +* [elasticsearch] format examples README +* [elasticsearch] format README +* Merge branch 'master' into master +* [elasticsearch] Add envFrom parameter +* Merge pull request #586 from jmlrt/readiness-to-503 +* Fix linting errors +* [elasticsearch] don't print BASIC_AUTH in k8s event log +* fixup! [elasticsearch] split readiness http code check condition +* [elasticsearch] exit with return code from curl +* Updated tests to test both string and yaml +* [elasticsearch] split readiness http code check condition +* Added ability for string or yaml for extra* templates +* Merge branch 'master' of github.com:elastic/helm-charts into helm-default-patch +* Merge pull request #584 from michelesr/master +* [elasticsearch] Adds imagePullSecrets for test Pod +* [elasticsearch] update readiness probe endpoint +* [elasticsearch] Set securityContext for test pod +* Use busybox for ES testing password generation +* [elasticsearch] fix helm test command + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 4486d53c..0029b992 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -34,6 +34,13 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + ++# Allows you to load environment variables from kubernetes secret or config map ++envFrom: [] ++# - secretRef: ++# name: env-secret ++# - configMapRef: ++# name: config-map ++ + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +@@ -43,7 +50,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -112,21 +119,21 @@ persistence: + enabled: true + annotations: {} + +-extraVolumes: "" ++extraVolumes: [] + # - name: extras + # emptyDir: {} + +-extraVolumeMounts: "" ++extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraContainers: "" ++extraContainers: [] + # - name: do-something + # image: busybox + # command: ['do', 'something'] + +-extraInitContainers: "" ++extraInitContainers: [] + # - name: do-something + # image: busybox + # command: ['do', 'something'] +@@ -177,10 +184,6 @@ podSecurityContext: + fsGroup: 1000 + runAsUser: 1000 + +-# The following value is deprecated, +-# please use the above podSecurityContext.fsGroup instead +-fsGroup: "" +- + securityContext: + capabilities: + drop: +@@ -258,3 +261,7 @@ sysctlInitContainer: + enabled: true + + keystore: [] ++ ++# Deprecated ++# please use the above podSecurityContext.fsGroup instead ++fsGroup: "" +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version +* Support staging ES security tests +* added loadBalancerIP option to service +* Update defaults for extra values to support lists +* Add namespace parameter to the test function to NOTES.txt +* Add possibility to define custom readinessProbe (#485) + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 053c0209..4486d53c 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -163,6 +163,7 @@ service: + annotations: {} + httpPortName: http + transportPortName: transport ++ loadBalancerIP: "" + loadBalancerSourceRanges: [] + + updateStrategy: RollingUpdate +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version +* [elasticsearch] fix format of test for loadBalancerSourceRanges +* correct dictionary tol list +* [elasticsearch] add support for loadBalancerSourceRanges +* [elasticsearch] add notice about cpu request change merged in c56682285e6d47e5fed9e000b045ec98ee1d3555 + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index cad0b582..053c0209 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -163,6 +163,7 @@ service: + annotations: {} + httpPortName: http + transportPortName: transport ++ loadBalancerSourceRanges: [] + + updateStrategy: RollingUpdate + +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [elasticsearch] add extracontainers +* Merge pull request #458 from jmlrt/request-equals-limits +* [elasticsearch] set cpu request = cpu limit +* Fixing typo + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 9cd502d7..cad0b582 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -56,7 +56,7 @@ esJavaOpts: "-Xmx1g -Xms1g" + + resources: + requests: +- cpu: "100m" ++ cpu: "1000m" + memory: "2Gi" + limits: + cpu: "1000m" +@@ -121,6 +121,11 @@ extraVolumeMounts: "" + # mountPath: /usr/share/extras + # readOnly: true + ++extraContainers: "" ++ # - name: do-something ++ # image: busybox ++ # command: ['do', 'something'] ++ + extraInitContainers: "" + # - name: do-something + # image: busybox +``` + +## 7.5.2 + +**Release date:** 2020-01-21 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.2] bump versions +* Add commented out example of a useful post start hook +* [doc] switch relative URLs to absolute URLs +* [elasticsearch] add workaround to fix kind example +* Merge pull request #433 from jmlrt/elasticsearch-microk8s +* [elasticsearch] add example for microk8s +* duplicate label removed +* Merge pull request #382 from jaumann/es-nameoverride + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index c667444f..9cd502d7 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -233,7 +233,19 @@ lifecycle: {} + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] + # postStart: + # exec: +- # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ # command: ++ # - bash ++ # - -c ++ # - | ++ # #!/bin/bash ++ # # Add a template to adjust number of shards/replicas ++ # TEMPLATE_NAME=my_template ++ # INDEX_PATTERN="logstash-*" ++ # SHARD_COUNT=8 ++ # REPLICA_COUNT=1 ++ # ES_URL=http://localhost:9200 ++ # while [[ "$(curl -s -o /dev/null -w '%{http_code}\n' $ES_URL)" != "200" ]]; do sleep 1; done ++ # curl -XPUT "$ES_URL/_template/$TEMPLATE_NAME" -H 'Content-Type: application/json' -d'{"index_patterns":['\""$INDEX_PATTERN"\"'],"settings":{"number_of_shards":'$SHARD_COUNT',"number_of_replicas":'$REPLICA_COUNT'}}' + + sysctlInitContainer: + enabled: true +``` + +## 7.5.1 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.1] bump versions +* Fix misnamed masterService +* Remove merge conflict +* Allow for name overrides of resources +* Prefixed helper functions with chart name +* [helm] make more explicit that helm 3 is not supported + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 8f2d943a..c667444f 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.5.0 + +**Release date:** 2019-12-02 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.0] release +* bump elastic stack versions to 6.8.5 and 7.4.2 +* [elasticsearch] Apply labels to all pods +* [elasticsearch] Tweak the 'readinessProbe' command to verify that master nodes are available. +* update install doc +* use same imagePullPolicy in initContainer +* add tests +* update readme +* add support for labels for services +* [helm] add some notice about tested helm version + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 72bf2b47..8f2d943a 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.4.1" ++imageTag: "7.5.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -151,6 +151,8 @@ httpPort: 9200 + transportPort: 9300 + + service: ++ labels: {} ++ labelsHeadless: {} + type: ClusterIP + nodePort: "" + annotations: {} +``` + +## 7.4.1 + +**Release date:** 2019-10-22 + +![AppVersion: 7.4.1](https://img.shields.io/static/v1?label=AppVersion&message=7.4.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* 7.4.1 release +* [helm] workaround to adress regression for numeric value type in helm v2.15 - Apply workaround from https://github.com/helm/helm/issues/6708 - Related to https://github.com/helm/helm/pull/6010 +* [helm ] force empty string to "null" values This fix the following errors during `helm lint --strict`: ``` ==> Linting . [ERROR] templates/: render error in "elasticsearch/templates/service.yaml": template: elasticsearch/templates/service.yaml:24:14: executing "elasticsearch/templates/service.yaml" at <.Values.service.nodePort>: map has no entry for key "nodePort" ``` +* [helm] add chart api version This is required witrh Helm 2.15.0 following https://github.com/helm/helm/pull/6180 +* Merge pull request #337 from jmlrt/es-unused-default-value +* [elasticsearch] remove unused default value +* Update elasticsearch/README.md +* [elasticsearch] fix deprecated note related to https://github.com/elastic/helm-charts/pull/333/files#r335988708 +* Merge pull request #274 from salaboy/master +* [elasticsearch] Add logging when adding password to keystore + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index eff281ba..72bf2b47 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.4.0" ++imageTag: "7.4.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -152,7 +152,7 @@ transportPort: 9300 + + service: + type: ClusterIP +- nodePort: ++ nodePort: "" + annotations: {} + httpPortName: http + transportPortName: transport +``` + +## 7.4.0 + +**Release date:** 2019-10-01 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.4.0 Release +* Merge pull request #302 from code-chris/elastic-k8s-1.16 +* [elasticsearch] Add compatibility for k8s 1.16 + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index ccab4623..eff281ba 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.3.2" ++imageTag: "7.4.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.3.2 + +**Release date:** 2019-09-27 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Fix bug when checking if a variable is set. + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 7ce13c31..ccab4623 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -86,6 +86,28 @@ volumeClaimTemplate: + requests: + storage: 30Gi + ++rbac: ++ create: false ++ serviceAccountName: "" ++ ++podSecurityPolicy: ++ create: false ++ name: "" ++ spec: ++ privileged: true ++ fsGroup: ++ rule: RunAsAny ++ runAsUser: ++ rule: RunAsAny ++ seLinux: ++ rule: RunAsAny ++ supplementalGroups: ++ rule: RunAsAny ++ volumes: ++ - secret ++ - configMap ++ - persistentVolumeClaim ++ + persistence: + enabled: true + annotations: {} +@@ -132,6 +154,8 @@ service: + type: ClusterIP + nodePort: + annotations: {} ++ httpPortName: http ++ transportPortName: transport + + updateStrategy: RollingUpdate + +@@ -142,6 +166,7 @@ maxUnavailable: 1 + + podSecurityContext: + fsGroup: 1000 ++ runAsUser: 1000 + + # The following value is deprecated, + # please use the above podSecurityContext.fsGroup instead +``` + +## 7.3.0 + +**Release date:** 2019-09-24 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Update values.yaml +* Add working examples for running Elasticsearch and Kibana on ope… (#263) + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.3.2 + +**Release date:** 2019-09-23 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Make it possible to override the endpoint template. (#298) + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 7ce13c31..ccab4623 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -86,6 +86,28 @@ volumeClaimTemplate: + requests: + storage: 30Gi + ++rbac: ++ create: false ++ serviceAccountName: "" ++ ++podSecurityPolicy: ++ create: false ++ name: "" ++ spec: ++ privileged: true ++ fsGroup: ++ rule: RunAsAny ++ runAsUser: ++ rule: RunAsAny ++ seLinux: ++ rule: RunAsAny ++ supplementalGroups: ++ rule: RunAsAny ++ volumes: ++ - secret ++ - configMap ++ - persistentVolumeClaim ++ + persistence: + enabled: true + annotations: {} +@@ -132,6 +154,8 @@ service: + type: ClusterIP + nodePort: + annotations: {} ++ httpPortName: http ++ transportPortName: transport + + updateStrategy: RollingUpdate + +@@ -142,6 +166,7 @@ maxUnavailable: 1 + + podSecurityContext: + fsGroup: 1000 ++ runAsUser: 1000 + + # The following value is deprecated, + # please use the above podSecurityContext.fsGroup instead +``` + +## 7.3.0 + +**Release date:** 2019-09-23 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* updating storageClassName +* Make it possible to override the endpoint template. +* fix "; \" when there is no additional command in the makefiles + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.3.2 + +**Release date:** 2019-09-19 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.2 Release +* Hardening of the pod permissions. (#265) +* [elasticsearch] Set default runAsUser for pod security context (#259) +* Merge pull request #286 from NorDroN/fix-certs +* Merge branch 'master' into podsecuritypolicy +* [elasticsearch] Set default runAsUser for pod security context +* Fix test following removal of some permissions in the PSP spec. +* Changes based on feedback. +* ES Variable Port Name (#270) +* Remove unnecessary semicolon and newline escape +* Update values file and added templates to both services +* [elasticsearch] Drop version from chart label in service +* Fix 'Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818' +* adding Example for Kubernetes KIND +* ES Variable Port Name +* Hardening of the pod permissions. +* Properly quote bootstrap password +* [elasticsearch] Keystore integration +* Add working examples for running Elasticsearch and Kibana on openshift +* Clarify priorityClassName default for es chart +* Fixed indent on elasticsearch extraVolumes tpl. Was causing parsing errors +* Update documentation and defaults for tmpl values + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 13ca0626..ccab4623 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -86,20 +86,42 @@ volumeClaimTemplate: + requests: + storage: 30Gi + ++rbac: ++ create: false ++ serviceAccountName: "" ++ ++podSecurityPolicy: ++ create: false ++ name: "" ++ spec: ++ privileged: true ++ fsGroup: ++ rule: RunAsAny ++ runAsUser: ++ rule: RunAsAny ++ seLinux: ++ rule: RunAsAny ++ supplementalGroups: ++ rule: RunAsAny ++ volumes: ++ - secret ++ - configMap ++ - persistentVolumeClaim ++ + persistence: + enabled: true + annotations: {} + +-extraVolumes: [] ++extraVolumes: "" + # - name: extras + # emptyDir: {} + +-extraVolumeMounts: [] ++extraVolumeMounts: "" + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraInitContainers: [] ++extraInitContainers: "" + # - name: do-something + # image: busybox + # command: ['do', 'something'] +@@ -132,6 +154,8 @@ service: + type: ClusterIP + nodePort: + annotations: {} ++ httpPortName: http ++ transportPortName: transport + + updateStrategy: RollingUpdate + +@@ -142,6 +166,7 @@ maxUnavailable: 1 + + podSecurityContext: + fsGroup: 1000 ++ runAsUser: 1000 + + # The following value is deprecated, + # please use the above podSecurityContext.fsGroup instead +@@ -210,3 +235,5 @@ lifecycle: {} + + sysctlInitContainer: + enabled: true ++ ++keystore: [] +``` + +## 7.3.0 + +**Release date:** 2019-07-31 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.0 Release +* publishNotReadyAddresses not working + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 9caf0bcc..13ca0626 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.2.0" ++imageTag: "7.3.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.2.1-0 + +**Release date:** 2019-07-18 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #226 from MichaelMarieJulie/add-elasticsearch-additionals-labels + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.2.0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [elasticsearch] additionals labels + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 6e53ee60..9caf0bcc 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -49,6 +49,9 @@ imagePullPolicy: "IfNotPresent" + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + ++# additionals labels ++labels: {} ++ + esJavaOpts: "-Xmx1g -Xms1g" + + resources: +``` + +## 7.2.1-0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.2.1-0 Release +* Merge pull request #205 from elastic/alright_keep_your_secrets +* Add tests and fix README.md +* Fixup the instructions for how to actual interact with the deployment +* Add option to disable sysctlInitContainer +* [elasticsearch] Adding testing for security context +* Use generated encryption key for Kibana +* Don't mount in the current directory when generating certs +* Update Kibana and Elasticsearch security examples to be generated +* Add test coverage for esMajorVersion for oss and default value +* [elasticsearch] Automatically detect esMajorVersion for default image +* Merge pull request #197 from tetianakravchenko/elasticsearch-add-hooks +* default values: update example to make it more generic +* remove not needed comment +* revertchanges: remove hooks variable +* Merge pull request #171 from naseemkullah/elasticsearch-runasnonroot +* values: fix duplication, move hooks closer to the lifecycle; tests: add sugested test +* revert some changes +* revert some changes + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 75507647..6e53ee60 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,7 +16,7 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + +-esMajorVersion: 7 ++esMajorVersion: "" + + # Allows you to add any config files in /usr/share/elasticsearch/config/ + # such as elasticsearch.yml and log4j2.properties +@@ -27,14 +27,6 @@ esConfig: {} + # log4j2.properties: | + # key = value + +-# Add custom preStop, postStart lifecycle hooks +-hooks: {} +- ## (string) Script to execute prior the pod stops. +- # preStop: |- +- +- ## (string) Script to execute after the pod starts. +- # postStart: |- +- + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -145,8 +137,20 @@ updateStrategy: RollingUpdate + # of your pods to be unavailable during maintenance + maxUnavailable: 1 + +- # GroupID for the elasticsearch user. The official elastic docker images always have the id of 1000 +-fsGroup: 1000 ++podSecurityContext: ++ fsGroup: 1000 ++ ++# The following value is deprecated, ++# please use the above podSecurityContext.fsGroup instead ++fsGroup: "" ++ ++securityContext: ++ capabilities: ++ drop: ++ - ALL ++ # readOnlyRootFilesystem: true ++ runAsNonRoot: true ++ runAsUser: 1000 + + # How long to wait for elasticsearch to stop gracefully + terminationGracePeriod: 120 +@@ -196,7 +200,10 @@ masterTerminationFix: false + lifecycle: {} + # preStop: + # exec: +- # command: ["/bin/bash","/preStop"] +- # preStop: ++ # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ # postStart: + # exec: +- # command: ["/bin/bash","/preStop"] ++ # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ ++sysctlInitContainer: ++ enabled: true +``` + +## 7.2.0 + +**Release date:** 2019-07-02 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add option to provide custom start/stop hooks + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 14d28f71..75507647 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -27,6 +27,14 @@ esConfig: {} + # log4j2.properties: | + # key = value + ++# Add custom preStop, postStart lifecycle hooks ++hooks: {} ++ ## (string) Script to execute prior the pod stops. ++ # preStop: |- ++ ++ ## (string) Script to execute after the pod starts. ++ # postStart: |- ++ + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -43,7 +51,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.1.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -67,6 +75,14 @@ initResources: {} + # cpu: "25m" + # memory: "128Mi" + ++sidecarResources: {} ++ # limits: ++ # cpu: "25m" ++ # # memory: "128Mi" ++ # requests: ++ # cpu: "25m" ++ # memory: "128Mi" ++ + networkHost: "0.0.0.0" + + volumeClaimTemplate: +@@ -173,3 +189,14 @@ ingress: + + nameOverride: "" + fullnameOverride: "" ++ ++# https://github.com/elastic/helm-charts/issues/63 ++masterTerminationFix: false ++ ++lifecycle: {} ++ # preStop: ++ # exec: ++ # command: ["/bin/bash","/preStop"] ++ # preStop: ++ # exec: ++ # command: ["/bin/bash","/preStop"] +``` + +## 7.1.1 + +**Release date:** 2019-06-17 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Run as 1000 +* [elasticsearch] Fix sidecar container resources test +* Merge pull request #194 from elastic/seven_too_oh +* [elasticsearch] Disable masterTerminationFix by default + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 14d28f71..5f459823 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -129,8 +129,20 @@ updateStrategy: RollingUpdate + # of your pods to be unavailable during maintenance + maxUnavailable: 1 + +- # GroupID for the elasticsearch user. The official elastic docker images always have the id of 1000 +-fsGroup: 1000 ++podSecurityContext: ++ fsGroup: 1000 ++ ++# The following value is deprecated, ++# please use the above podSecurityContext.fsGroup instead ++fsGroup: "" ++ ++securityContext: ++ capabilities: ++ drop: ++ - ALL ++ # readOnlyRootFilesystem: true ++ runAsNonRoot: true ++ runAsUser: 1000 + + # How long to wait for elasticsearch to stop gracefully + terminationGracePeriod: 120 +``` + +## 7.2.0 + +**Release date:** 2019-07-01 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.2.0 +* Merge pull request #189 from gnatpat/master +* Merge pull request #182 from hxquangnhat/patch-1 +* Fix test. +* Update README. +* Add resources to sidecar container. +* Wrong value of secretName +* Wrong secretName value +* [elasticsearch] Fix pvc annotations with multiple fields +* Always run tests against localhost or the service endpoint +* Drop support for 5.x +* Remove goss port test and instead do http calls on 0.0.0.0 and service +* [elasticsearch] Update security example docs to match reality +* [elasticsearch] Add configurable nodePort to service spec +* Merge pull request #123 from kimxogus/elasticsearch/fix-master-check +* Update beta notice and add chart descriptions +* fix test failure +* Merge pull request #141 from satchpx/master +* fix README.md + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index d7a7b416..2c947219 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.1.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -119,6 +119,7 @@ transportPort: 9300 + + service: + type: ClusterIP ++ nodePort: + annotations: {} + + updateStrategy: RollingUpdate +@@ -146,6 +147,11 @@ readinessProbe: + # https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html#request-params wait_for_status + clusterHealthCheckParams: "wait_for_status=green&timeout=1s" + ++## Use an alternate scheduler. ++## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ ++## ++schedulerName: "" ++ + imagePullSecrets: [] + nodeSelector: {} + tolerations: [] +``` + +## 7.1.1 + +**Release date:** 2019-06-07 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into elasticsearch/fix-master-check + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index af8c6e1f..d7a7b416 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.1.0" ++imageTag: "7.1.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -117,6 +117,10 @@ protocol: http + httpPort: 9200 + transportPort: 9300 + ++service: ++ type: ClusterIP ++ annotations: {} ++ + updateStrategy: RollingUpdate + + # This is the max unavailable setting for the pod disruption budget +``` + +## 7.1.0 + +**Release date:** 2019-06-06 + +![AppVersion: 7.1.0](https://img.shields.io/static/v1?label=AppVersion&message=7.1.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* update values for default schedulerName + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index af8c6e1f..788769ee 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -142,6 +142,11 @@ readinessProbe: + # https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html#request-params wait_for_status + clusterHealthCheckParams: "wait_for_status=green&timeout=1s" + ++## Use an alternate scheduler. ++## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ ++## ++schedulerName: "" ++ + imagePullSecrets: [] + nodeSelector: {} + tolerations: [] +``` + +## 7.1.1 + +**Release date:** 2019-06-06 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.1.1 +* update README/values; Add test for schedulerName +* [elasticsearch] Add instructions for how to enable snapshots +* add capability to specify alternalte scheduler +* Use basic license for security example + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index af8c6e1f..c1686e5d 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.1.0" ++imageTag: "7.1.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.1.0 + +**Release date:** 2019-05-21 + +![AppVersion: 7.1.0](https://img.shields.io/static/v1?label=AppVersion&message=7.1.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.1.0 release and promotion to beta status +* Merge remote-tracking branch 'upstream/master' into elasticsearch/fix-master-check +* change required master prefix +* Merge pull request #109 from lancespeelmon/priorityClassName +* RE: @Crazybus add a basic template test + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index a3d1da94..af8c6e1f 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.0.1" ++imageTag: "7.1.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-08 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into priorityClassName +* RE: @Crazybus Could you also add these new value file into each charts readme + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 637469f5..a3d1da94 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -76,6 +76,7 @@ volumeClaimTemplate: + storage: 30Gi + + persistence: ++ enabled: true + annotations: {} + + extraVolumes: [] +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-05-08 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* RE: @Crazybus I think this should be an empty string +* Bump versions +* WIP: Add integration tests and other tweaks for filebeat +* set empty string if curl fails +* fix test failure, update README +* rearrange values +* update pytest spec +* refactor services +* check only if master node string is empty + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 57ebe9f4..637469f5 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -92,6 +92,10 @@ extraInitContainers: [] + # image: busybox + # command: ['do', 'something'] + ++# This is the PriorityClass settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ++priorityClassName: "" ++ + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions + antiAffinityTopologyKey: "kubernetes.io/hostname" +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-03 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #119 from kimxogus/elasticsearch/master-sidecar + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 83ac6799..8a9caf01 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-05-03 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* refactor reviewed code +* Merge pull request #117 from elastic/filebeat-chart +* Bump the version number for the new upgrade test + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-02 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #115 from elastic/up_and_at_them +* rename sidecar container name +* rename container name +* rewrite without voting_config_exclusion + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 83ac6799..8a9caf01 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-05-01 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Init helm so that this works properly in a fresh CI environment + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-01 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.0.1 and update the changelog +* [elasticsearch] Add upgrade integration test +* [elasticsearch] Make persistent volumes optional +* add support for k8s PriorityClass +* Fix some incorrect es/kibana default values in docs +* Add explicit chart version to the imageTag example +* add a test, fix some tests +* set the change for 7+ versions +* add discovery.seed_hosts setting +* remove discovery.zen.ping.unicast.hosts settign on esMajorVersion > 7 + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 57ebe9f4..8a9caf01 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -76,6 +76,7 @@ volumeClaimTemplate: + storage: 30Gi + + persistence: ++ enabled: true + annotations: {} + + extraVolumes: [] +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-04-17 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into es/update-values + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 6e12f739..57ebe9f4 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,7 +16,7 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + +-esMajorVersion: 6 ++esMajorVersion: 7 + + # Allows you to add any config files in /usr/share/elasticsearch/config/ + # such as elasticsearch.yml and log4j2.properties +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.2" ++imageTag: "7.0.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -78,16 +78,16 @@ volumeClaimTemplate: + persistence: + annotations: {} + +-extraVolumes: | ++extraVolumes: [] + # - name: extras + # emptyDir: {} + +-extraVolumeMounts: | ++extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraInitContainers: | ++extraInitContainers: [] + # - name: do-something + # image: busybox + # command: ['do', 'something'] +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-04-17 + +![AppVersion: 6.6.2](https://img.shields.io/static/v1?label=AppVersion&message=6.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* revert version bumps +* Latest 5.x release is actually 5.6.16 +* Switch the new extra values into arrays + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index db65b429..6e12f739 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -71,7 +71,6 @@ networkHost: "0.0.0.0" + + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] +- storageClassName: "standard" + resources: + requests: + storage: 30Gi +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-04-16 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch to 7.x as the default version +* update README.md + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index db65b429..33ed2168 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,7 +16,7 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + +-esMajorVersion: 6 ++esMajorVersion: 7 + + # Allows you to add any config files in /usr/share/elasticsearch/config/ + # such as elasticsearch.yml and log4j2.properties +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.2" ++imageTag: "7.0.0" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-04-16 + +![AppVersion: 6.7.1](https://img.shields.io/static/v1?label=AppVersion&message=6.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* revert chart version bump + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.7.1-alpha1 + +**Release date:** 2019-04-16 + +![AppVersion: 6.7.1](https://img.shields.io/static/v1?label=AppVersion&message=6.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into es/update-values +* Merge pull request #70 from tproenca/tproenca/customization +* Merge pull request #95 from Conky5/doc-tweaks +* Merge pull request #86 from elastic/migrating_west_for_the_winter +* Tweak masterService description +* Use 6.7 for tls link + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index e0f9f2a4..dad9bdb0 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.2" ++imageTag: "6.7.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -71,11 +71,27 @@ networkHost: "0.0.0.0" + + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] +- storageClassName: "standard" + resources: + requests: + storage: 30Gi + ++persistence: ++ annotations: {} ++ ++extraVolumes: | ++ # - name: extras ++ # emptyDir: {} ++ ++extraVolumeMounts: | ++ # - name: extras ++ # mountPath: /usr/share/extras ++ # readOnly: true ++ ++extraInitContainers: | ++ # - name: do-something ++ # image: busybox ++ # command: ['do', 'something'] ++ + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions + antiAffinityTopologyKey: "kubernetes.io/hostname" +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-04-12 + +![AppVersion: 6.6.2](https://img.shields.io/static/v1?label=AppVersion&message=6.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Update documentation links +* remove standard storageClassName in default values + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.7.1-alpha1 + +**Release date:** 2019-04-12 + +![AppVersion: 6.7.1](https://img.shields.io/static/v1?label=AppVersion&message=6.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* bump es version +* Update examples to 7.0.0 +* Add extra check to make sure that all masters are present. +* Add link to migration guide in main readme. +* Remove unnecessary "and" before leftover +* Update README.md +* Enable strict mode for helm lint test +* Add migration guide for migrating from the community helm/charts repo +* Merge pull request #59 from weirdwater/master +* Updated the documentation +* Added tests +* Added extra volumes, volumeMounts, initContainers +* Added default values for customization + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 4d98d971..4b53e595 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -4,7 +4,7 @@ nodeGroup: "master" + + # The service that non master groups will try to connect to when joining the cluster + # This should be set to clusterName + "-" + nodeGroup for your master group +-# masterService: "elasticsearch-master" ++masterService: "" + + # Elasticsearch roles that will be applied to this nodeGroup + # These will be set as environment variables. E.g. node.master=true +@@ -20,7 +20,7 @@ esMajorVersion: 6 + + # Allows you to add any config files in /usr/share/elasticsearch/config/ + # such as elasticsearch.yml and log4j2.properties +-esConfig: ++esConfig: {} + # elasticsearch.yml: | + # key: + # nestedkey: value +@@ -30,20 +30,20 @@ esConfig: + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +-extraEnvs: ++extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +-secretMounts: ++secretMounts: [] + # - name: elastic-certificates + # secretName: elastic-certificates + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.2" ++imageTag: "6.7.1" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +@@ -139,3 +139,6 @@ ingress: + # - secretName: chart-example-tls + # hosts: + # - chart-example.local ++ ++nameOverride: "" ++fullnameOverride: "" +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-03-18 + +![AppVersion: 6.6.2](https://img.shields.io/static/v1?label=AppVersion&message=6.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #79 from elastic/bumper_cars +* Merge pull request #76 from Conky5/seven-one + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index f03f1360..4d98d971 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,7 +43,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.0" ++imageTag: "6.6.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 6.6.0-alpha1 + +**Release date:** 2019-03-14 + +![AppVersion: 6.6.0](https://img.shields.io/static/v1?label=AppVersion&message=6.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* small typo in 'parallel' + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-03-15 + +![AppVersion: 6.6.2](https://img.shields.io/static/v1?label=AppVersion&message=6.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.6.2-alpha1 +* Only require setting masterService for custom master nodeGroups +* update README.md + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index f65d1cc9..4d98d971 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -4,7 +4,7 @@ nodeGroup: "master" + + # The service that non master groups will try to connect to when joining the cluster + # This should be set to clusterName + "-" + nodeGroup for your master group +-masterService: "" ++# masterService: "elasticsearch-master" + + # Elasticsearch roles that will be applied to this nodeGroup + # These will be set as environment variables. E.g. node.master=true +@@ -43,7 +43,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.6.0" ++imageTag: "6.6.2" + imagePullPolicy: "IfNotPresent" + + podAnnotations: {} +``` + +## 6.6.0-alpha1 + +**Release date:** 2019-03-13 + +![AppVersion: 6.6.0](https://img.shields.io/static/v1?label=AppVersion&message=6.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* remove version bump +* remove unnecessary masterService values + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.6.0-alpha2 + +**Release date:** 2019-03-13 + +![AppVersion: 6.6.0](https://img.shields.io/static/v1?label=AppVersion&message=6.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* add masterService template defaults uname +* Add 7.1.0 snapshot testing +* [elasticsearch] Add transport port to headless service +* :TableFormat +* Set types of empty Elasticsearch values +* PR feedback +* Bump 7 alpha testing to 7 beta 1 +* issue-60: Update clusterHealthCheckParams description +* issue-60: Widen scope of configurable health param string that the readinessProbe will wait for +* issue-60: Add a configurable health status that the readinessProbe will wait for +* Add FAQ section with keystore and plugin examples + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 657faf0f..f65d1cc9 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -4,7 +4,7 @@ nodeGroup: "master" + + # The service that non master groups will try to connect to when joining the cluster + # This should be set to clusterName + "-" + nodeGroup for your master group +-masterService: "elasticsearch-master" ++masterService: "" + + # Elasticsearch roles that will be applied to this nodeGroup + # These will be set as environment variables. E.g. node.master=true +@@ -118,6 +118,9 @@ readinessProbe: + successThreshold: 3 + timeoutSeconds: 5 + ++# https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html#request-params wait_for_status ++clusterHealthCheckParams: "wait_for_status=green&timeout=1s" ++ + imagePullSecrets: [] + nodeSelector: {} + tolerations: [] +``` + +## 6.6.0-alpha1 + +**Release date:** 2019-01-29 + +![AppVersion: 6.6.0](https://img.shields.io/static/v1?label=AppVersion&message=6.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.6.0 +* [elasticsearch] Add configurable pod annotations +* Merge pull request #40 from powerhome/add-resources-for-initContainers +* Add tests for initcontainer resources + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 203d6cec..657faf0f 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -43,9 +43,12 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.4" ++imageTag: "6.6.0" + imagePullPolicy: "IfNotPresent" + ++podAnnotations: {} ++ # iam.amazonaws.com/role: es-cluster ++ + esJavaOpts: "-Xmx1g -Xms1g" + + resources: +@@ -81,6 +84,10 @@ antiAffinityTopologyKey: "kubernetes.io/hostname" + # and that they will never end up on the same node. Setting this to soft will do this "best effort" + antiAffinity: "hard" + ++# This is the node affinity settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature ++nodeAffinity: {} ++ + # The default is to deploy all pods serially. By setting this to parallel all pods are started at + # the same time when bootstrapping the cluster + podManagementPolicy: "Parallel" +``` + +## 6.5.4-alpha3 + +**Release date:** 2019-01-24 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Reset version to original + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha4 + +**Release date:** 2019-01-24 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add extra variable to to elasticsearch README + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 3561f8d1..203d6cec 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -37,7 +37,7 @@ extraEnvs: + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +-secretMounts: ++secretMounts: + # - name: elastic-certificates + # secretName: elastic-certificates + # path: /usr/share/elasticsearch/config/certs +@@ -56,6 +56,14 @@ resources: + cpu: "1000m" + memory: "2Gi" + ++initResources: {} ++ # limits: ++ # cpu: "25m" ++ # # memory: "128Mi" ++ # requests: ++ # cpu: "25m" ++ # memory: "128Mi" ++ + networkHost: "0.0.0.0" + + volumeClaimTemplate: +@@ -67,7 +75,7 @@ volumeClaimTemplate: + + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions +-antiAffinityTopologyKey: "kubernetes.io/hostname" ++antiAffinityTopologyKey: "kubernetes.io/hostname" + + # Hard means that by default pods will only be scheduled if there are enough nodes for them + # and that they will never end up on the same node. Setting this to soft will do this "best effort" +``` + +## 6.5.4-alpha3 + +**Release date:** 2019-01-21 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [elasticsearch] Add nodeAffinity support. + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 3561f8d1..ebd62c29 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -73,6 +73,10 @@ antiAffinityTopologyKey: "kubernetes.io/hostname" + # and that they will never end up on the same node. Setting this to soft will do this "best effort" + antiAffinity: "hard" + ++# This is the node affinity settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature ++nodeAffinity: {} ++ + # The default is to deploy all pods serially. By setting this to parallel all pods are started at + # the same time when bootstrapping the cluster + podManagementPolicy: "Parallel" +``` + +## 6.5.4-alpha4 + +**Release date:** 2019-01-18 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add resources to InitContainers +* Add support for setting configuration via configmaps +* Merge pull request #33 from elastic/shufalaughagus + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 998ad94d..203d6cec 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -18,6 +18,15 @@ minimumMasterNodes: 2 + + esMajorVersion: 6 + ++# Allows you to add any config files in /usr/share/elasticsearch/config/ ++# such as elasticsearch.yml and log4j2.properties ++esConfig: ++# elasticsearch.yml: | ++# key: ++# nestedkey: value ++# log4j2.properties: | ++# key = value ++ + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -28,7 +37,7 @@ extraEnvs: + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +-secretMounts: ++secretMounts: + # - name: elastic-certificates + # secretName: elastic-certificates + # path: /usr/share/elasticsearch/config/certs +@@ -47,6 +56,14 @@ resources: + cpu: "1000m" + memory: "2Gi" + ++initResources: {} ++ # limits: ++ # cpu: "25m" ++ # # memory: "128Mi" ++ # requests: ++ # cpu: "25m" ++ # memory: "128Mi" ++ + networkHost: "0.0.0.0" + + volumeClaimTemplate: +@@ -58,7 +75,7 @@ volumeClaimTemplate: + + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions +-antiAffinityTopologyKey: "kubernetes.io/hostname" ++antiAffinityTopologyKey: "kubernetes.io/hostname" + + # Hard means that by default pods will only be scheduled if there are enough nodes for them + # and that they will never end up on the same node. Setting this to soft will do this "best effort" +``` + +## 6.5.4-alpha3 + +**Release date:** 2019-01-14 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch helm chart icons to png +* Properly set release variable so we can programmatically test with goss + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2019-01-07 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch Kibana over to goss testing setup + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha2 + +**Release date:** 2019-01-14 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.5.4-alpha2 +* Merge pull request #31 from elastic/rolly_polly +* Generate node roles instead of hard coding them + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2019-01-08 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #30 from jethr0null/add_logos +* Updated icon links + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 29377ed9..998ad94d 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,6 +16,8 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + ++esMajorVersion: 6 ++ + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -32,7 +34,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.0" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.0 + +**Release date:** 2019-01-04 + +![AppVersion: 6.5.0](https://img.shields.io/static/v1?label=AppVersion&message=6.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Added icons to ES and Kibana Chart.yaml +* Add Kibana 7 example and update Elasticsearch 7 to also use goss + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2019-01-04 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into zen_master +* Fix up test name +* Add `esMajorVersion` to determine discovery method + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 74ffb112..998ad94d 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,7 +16,7 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + +-esDiscoveryModule: "zen" ++esMajorVersion: 6 + + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env +@@ -34,7 +34,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.3" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.3-alpha1 + +**Release date:** 2019-01-02 + +![AppVersion: 6.5.3](https://img.shields.io/static/v1?label=AppVersion&message=6.5.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Don't set minimum master nodes when using zen2 discovery +* Get username and password from environment +* Add goss integration tests for the multi and security examples +* Add goss integration tests for the 5.x example +* Fix testing and install ordering + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 219b2647..74ffb112 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -16,6 +16,8 @@ roles: + replicas: 3 + minimumMasterNodes: 2 + ++esDiscoveryModule: "zen" ++ + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +``` + +## 6.5.4-alpha1 + +**Release date:** 2018-12-31 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add goss integration tests for the default example +* Update the node.name to match the resolvable name + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 219b2647..eb8f93ae 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -32,7 +32,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.3" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.3-alpha1 + +**Release date:** 2018-12-28 + +![AppVersion: 6.5.3](https://img.shields.io/static/v1?label=AppVersion&message=6.5.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add testing suite for v7 using the new zen2 discovery method + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2018-12-28 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Update maintainer mailing list and bump to 6.5.4 +* Add documentation and example for running the chart on docker-for-mac + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 219b2647..eb8f93ae 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -32,7 +32,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.3" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.3-alpha1 + +**Release date:** 2018-12-13 + +![AppVersion: 6.5.3](https://img.shields.io/static/v1?label=AppVersion&message=6.5.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump default version to 6.5.3 + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 39e41033..219b2647 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -32,7 +32,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.2" ++imageTag: "6.5.3" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.2-alpha1 + +**Release date:** 2018-12-06 + +![AppVersion: 6.5.2](https://img.shields.io/static/v1?label=AppVersion&message=6.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump to version 6.5.2 and append the alpha1 release tag +* Update Elasticsearch README +* Update wording a spelling of the usage notes +* Add usage notes and some getting started tips + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index 29377ed9..39e41033 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -32,7 +32,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.5.0" ++imageTag: "6.5.2" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.5.0 + +**Release date:** 2018-11-20 + +![AppVersion: 6.5.0](https://img.shields.io/static/v1?label=AppVersion&message=6.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump default version to 6.5.0 + +### Default value changes + +```diff +diff --git a/elasticsearch/values.yaml b/elasticsearch/values.yaml +index c488844b..29377ed9 100755 +--- a/elasticsearch/values.yaml ++++ b/elasticsearch/values.yaml +@@ -32,7 +32,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/elasticsearch/elasticsearch" +-imageTag: "6.4.3" ++imageTag: "6.5.0" + imagePullPolicy: "IfNotPresent" + + esJavaOpts: "-Xmx1g -Xms1g" +``` + +## 6.4.3 + +**Release date:** 2018-11-13 + +![AppVersion: 6.4.3](https://img.shields.io/static/v1?label=AppVersion&message=6.4.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* first commit + +### Default value changes + +```diff +--- +clusterName: "elasticsearch" +nodeGroup: "master" + +# The service that non master groups will try to connect to when joining the cluster +# This should be set to clusterName + "-" + nodeGroup for your master group +masterService: "elasticsearch-master" + +# Elasticsearch roles that will be applied to this nodeGroup +# These will be set as environment variables. E.g. node.master=true +roles: + master: "true" + ingest: "true" + data: "true" + +replicas: 3 +minimumMasterNodes: 2 + +# Extra environment variables to append to this nodeGroup +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: +# - name: MY_ENVIRONMENT_VAR +# value: the_value_goes_here + +# A list of secrets and their paths to mount inside the pod +# This is useful for mounting certificates for security and for mounting +# the X-Pack license +secretMounts: +# - name: elastic-certificates +# secretName: elastic-certificates +# path: /usr/share/elasticsearch/config/certs + +image: "docker.elastic.co/elasticsearch/elasticsearch" +imageTag: "6.4.3" +imagePullPolicy: "IfNotPresent" + +esJavaOpts: "-Xmx1g -Xms1g" + +resources: + requests: + cpu: "100m" + memory: "2Gi" + limits: + cpu: "1000m" + memory: "2Gi" + +networkHost: "0.0.0.0" + +volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] + storageClassName: "standard" + resources: + requests: + storage: 30Gi + +# By default this will make sure two pods don't end up on the same node +# Changing this to a region would allow you to spread pods across regions +antiAffinityTopologyKey: "kubernetes.io/hostname" + +# Hard means that by default pods will only be scheduled if there are enough nodes for them +# and that they will never end up on the same node. Setting this to soft will do this "best effort" +antiAffinity: "hard" + +# The default is to deploy all pods serially. By setting this to parallel all pods are started at +# the same time when bootstrapping the cluster +podManagementPolicy: "Parallel" + +protocol: http +httpPort: 9200 +transportPort: 9300 + +updateStrategy: RollingUpdate + +# This is the max unavailable setting for the pod disruption budget +# The default value of 1 will make sure that kubernetes won't allow more than 1 +# of your pods to be unavailable during maintenance +maxUnavailable: 1 + + # GroupID for the elasticsearch user. The official elastic docker images always have the id of 1000 +fsGroup: 1000 + +# How long to wait for elasticsearch to stop gracefully +terminationGracePeriod: 120 + +sysctlVmMaxMapCount: 262144 + +readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 3 + timeoutSeconds: 5 + +imagePullSecrets: [] +nodeSelector: {} +tolerations: [] + +# Enabling this will publically expose your Elasticsearch instance. +# Only enable this if you have security enabled on your cluster +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: / + hosts: + - chart-example.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/examples/filebeat.md b/examples/filebeat.md new file mode 100644 index 0000000..c6e6f52 --- /dev/null +++ b/examples/filebeat.md @@ -0,0 +1,1302 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [elasticsearch][kibana] remove oss examples (#1046) +* [filebeat] variable maxUnavailable updateStrategy (#809) +* [meta] add build status and artifact hub badges (#1033) +* NIT Update backport config and small doc fixes (#1017) +* [filebeat][metricbeat] Update documentation on port collisions for multiple beats agents with hostNetworking enabled. (#997) +* [filebeat] Configurable ClusterRole (#978) +* Filebeat deployment support feature (#964) +* [all] add hostaliases (#970) +* [meta] stabilize CI tests (#935) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* [meta] update rbac.authorization.k8s.io api (#890) +* Add warning comment placeholder (main branch) (#886) +* Update warning on charts readme (#863) +* [filebeat] introduce dnsConfig values for the containers (#659) +* [meta] update changelog for 7.9.2 release (#824) +* Fix typo in FAQ (#744) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [doc] update doc links (#758) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* [doc] fix some links (#737) +* [filebeat] document probe workaround for kafka output (#699) +* [filebeat] add permission to list nodes (#704) + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index e8c4ce22..8e9daf8d 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -1,38 +1,129 @@ + --- +-# Allows you to add any config files in /usr/share/filebeat +-# such as filebeat.yml +-filebeatConfig: +- filebeat.yml: | +- filebeat.inputs: +- - type: container +- paths: +- - /var/log/containers/*.log +- processors: +- - add_kubernetes_metadata: +- host: ${NODE_NAME} +- matchers: +- - logs_path: +- logs_path: "/var/log/containers/" +- +- output.elasticsearch: +- host: '${NODE_NAME}' +- hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' +- +-# Extra environment variables to append to the DaemonSet pod spec. +-# This will be appended to the current 'env:' key. You can use any of the kubernetes env +-# syntax here +-extraEnvs: [] +-# - name: MY_ENVIRONMENT_VAR +-# value: the_value_goes_here +- +-extraVolumeMounts: [] ++daemonset: ++ # Annotations to apply to the daemonset ++ annotations: {} ++ # additionals labels ++ labels: {} ++ affinity: {} ++ # Include the daemonset ++ enabled: true ++ # Extra environment variables for Filebeat container. ++ envFrom: [] ++ # - configMapRef: ++ # name: config-secret ++ extraEnvs: [] ++ # - name: MY_ENVIRONMENT_VAR ++ # value: the_value_goes_here ++ extraVolumes: [] ++ # - name: extras ++ # emptyDir: {} ++ extraVolumeMounts: [] ++ # - name: extras ++ # mountPath: /usr/share/extras ++ # readOnly: true ++ hostNetworking: false ++ # Allows you to add any config files in /usr/share/filebeat ++ # such as filebeat.yml for daemonset ++ filebeatConfig: ++ filebeat.yml: | ++ filebeat.inputs: ++ - type: container ++ paths: ++ - /var/log/containers/*.log ++ processors: ++ - add_kubernetes_metadata: ++ host: ${NODE_NAME} ++ matchers: ++ - logs_path: ++ logs_path: "/var/log/containers/" ++ ++ output.elasticsearch: ++ host: '${NODE_NAME}' ++ hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' ++ # Only used when updateStrategy is set to "RollingUpdate" ++ maxUnavailable: 1 ++ nodeSelector: {} ++ # A list of secrets and their paths to mount inside the pod ++ # This is useful for mounting certificates for security other sensitive values ++ secretMounts: [] ++ # - name: filebeat-certificates ++ # secretName: filebeat-certificates ++ # path: /usr/share/filebeat/certs ++ # Various pod security context settings. Bear in mind that many of these have an impact on Filebeat functioning properly. ++ # ++ # - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. ++ # - Whether to execute the Filebeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. ++ securityContext: ++ runAsUser: 0 ++ privileged: false ++ resources: ++ requests: ++ cpu: "100m" ++ memory: "100Mi" ++ limits: ++ cpu: "1000m" ++ memory: "200Mi" ++ tolerations: [] ++ ++deployment: ++ # Annotations to apply to the deployment ++ annotations: {} ++ # additionals labels ++ labels: {} ++ affinity: {} ++ # Include the deployment ++ enabled: false ++ # Extra environment variables for Filebeat container. ++ envFrom: [] ++ # - configMapRef: ++ # name: config-secret ++ extraEnvs: [] ++ # - name: MY_ENVIRONMENT_VAR ++ # value: the_value_goes_here ++ # Allows you to add any config files in /usr/share/filebeat ++ extraVolumes: [] ++ # - name: extras ++ # emptyDir: {} ++ extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true +- +-extraVolumes: [] +- # - name: extras +- # emptyDir: {} ++ # such as filebeat.yml for deployment ++ filebeatConfig: ++ filebeat.yml: | ++ filebeat.inputs: ++ - type: tcp ++ max_message_size: 10MiB ++ host: "localhost:9000" ++ ++ output.elasticsearch: ++ host: '${NODE_NAME}' ++ hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' ++ nodeSelector: {} ++ # A list of secrets and their paths to mount inside the pod ++ # This is useful for mounting certificates for security other sensitive values ++ secretMounts: [] ++ # - name: filebeat-certificates ++ # secretName: filebeat-certificates ++ # path: /usr/share/filebeat/certs ++ # ++ # - User that the container will execute as. ++ # Not necessary to run as root (0) as the Filebeat Deployment use cases do not need access to Kubernetes Node internals ++ # - Typically not necessarily unless running within environments such as OpenShift. ++ securityContext: ++ runAsUser: 0 ++ privileged: false ++ resources: ++ requests: ++ cpu: "100m" ++ memory: "100Mi" ++ limits: ++ cpu: "1000m" ++ memory: "200Mi" ++ tolerations: [] ++ ++# Replicas being used for the filebeat deployment ++replicas: 1 + + extraContainers: "" + # - name: dummy-init +@@ -41,16 +132,19 @@ extraContainers: "" + + extraInitContainers: [] + # - name: dummy-init +-# image: busybox +-# command: ['echo', 'hey'] +- +-envFrom: [] +-# - configMapRef: +-# name: configmap-name + + # Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib +-hostNetworking: false ++ ++dnsConfig: {} ++# options: ++# - name: ndots ++# value: "2" ++hostAliases: [] ++#- ip: "127.0.0.1" ++# hostnames: ++# - "foo.local" ++# - "bar.local" + image: "docker.elastic.co/beats/filebeat" + imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" +@@ -85,51 +179,31 @@ readinessProbe: + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + +-# additionals labels +-labels: {} ++clusterRoleRules: ++- apiGroups: ++ - "" ++ resources: ++ - namespaces ++ - nodes ++ - pods ++ verbs: ++ - get ++ - list ++ - watch + + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +-# Various pod security context settings. Bear in mind that many of these have an impact on Filebeat functioning properly. +-# +-# - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. +-# - Whether to execute the Filebeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. +-podSecurityContext: +- runAsUser: 0 +- privileged: false +- +-resources: +- requests: +- cpu: "100m" +- memory: "100Mi" +- limits: +- cpu: "1000m" +- memory: "200Mi" +- + # Custom service account override that the pod will use + serviceAccount: "" + + # Annotations to add to the ServiceAccount that is created if the serviceAccount value isn't set. + serviceAccountAnnotations: {} +- # eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount + +-# A list of secrets and their paths to mount inside the pod +-# This is useful for mounting certificates for security other sensitive values +-secretMounts: [] +-# - name: filebeat-certificates +-# secretName: filebeat-certificates +-# path: /usr/share/filebeat/certs ++ # eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount + + # How long to wait for Filebeat pods to stop gracefully + terminationGracePeriod: 30 +- +-tolerations: [] +- +-nodeSelector: {} +- +-affinity: {} +- + # This is the PriorityClass settings as defined in + # https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass + priorityClassName: "" +@@ -140,3 +214,19 @@ updateStrategy: RollingUpdate + # Only edit these if you know what you're doing + nameOverride: "" + fullnameOverride: "" ++ ++# DEPRECATED ++affinity: {} ++envFrom: [] ++extraEnvs: [] ++extraVolumes: [] ++extraVolumeMounts: [] ++# Allows you to add any config files in /usr/share/filebeat ++# such as filebeat.yml for both daemonset and deployment ++filebeatConfig: {} ++nodeSelector: {} ++podSecurityContext: {} ++resources: {} ++secretMounts: [] ++tolerations: [] ++labels: {} +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) +* Add ServiceAccount annotations (#686) + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 5118993b..e8c4ce22 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -52,7 +52,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -110,6 +110,10 @@ resources: + # Custom service account override that the pod will use + serviceAccount: "" + ++# Annotations to add to the ServiceAccount that is created if the serviceAccount value isn't set. ++serviceAccountAnnotations: {} ++ # eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount ++ + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security other sensitive values + secretMounts: [] +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 1b396af7..5118993b 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -52,7 +52,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [filebeat] add missing value in readme +* [filebeat] update default values +* [filebeat] format README +* [metricbeat] move back to docker input and in_cluster for 6.x +* fixup! [filebeat] use container input instead of docker input +* [filebeat] use recommended values for add_kubernetes_metadata +* [filebeat] use container input instead of docker input +* [filebeat] remove in_cluster config from add_kubernetes_metadata + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 6405b2c9..1b396af7 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -4,11 +4,15 @@ + filebeatConfig: + filebeat.yml: | + filebeat.inputs: +- - type: docker +- containers.ids: +- - '*' ++ - type: container ++ paths: ++ - /var/log/containers/*.log + processors: +- - add_kubernetes_metadata: ~ ++ - add_kubernetes_metadata: ++ host: ${NODE_NAME} ++ matchers: ++ - logs_path: ++ logs_path: "/var/log/containers/" + + output.elasticsearch: + host: '${NODE_NAME}' +@@ -48,7 +52,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version +* Accept a string as extraInitContainers value for filebeat + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 1b99157f..6405b2c9 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -48,7 +48,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index d3c575c9..1b99157f 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -48,7 +48,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [filebeat] add extracontainers +* Add tests for extraInitContainers to filebeat chart +* Add extraInitContainers to filebeat chart + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 6cce7feb..d3c575c9 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -30,6 +30,16 @@ extraVolumes: [] + # - name: extras + # emptyDir: {} + ++extraContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ ++extraInitContainers: [] ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ + envFrom: [] + # - configMapRef: + # name: configmap-name +@@ -38,7 +48,7 @@ envFrom: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.2 + +**Release date:** 2020-01-21 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.2] bump versions +* [doc] switch relative URLs to absolute URLs +* Correct default value of extraVolumeMounts and extraVolumes in filebeat/README.md +* Merge pull request #420 from jmlrt/override-probe +* [filebeat] allow override readiness and liveness probes commands +* Merge branch 'master' into add-support-for-envfrom + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index b1f2d941..6cce7feb 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -30,21 +30,39 @@ extraVolumes: [] + # - name: extras + # emptyDir: {} + ++envFrom: [] ++# - configMapRef: ++# name: configmap-name ++ + # Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + + livenessProbe: ++ exec: ++ command: ++ - sh ++ - -c ++ - | ++ #!/usr/bin/env bash -e ++ curl --fail 127.0.0.1:5066 + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + + readinessProbe: ++ exec: ++ command: ++ - sh ++ - -c ++ - | ++ #!/usr/bin/env bash -e ++ filebeat test output + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 +``` + +## 7.5.1 + +**Release date:** 2019-12-19 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge pull request #415 from jmlrt/add-custom-labels-to-pods + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index a9dc5fd3..b1f2d941 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.0 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [filebeat] apply labels to all pods + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.5.1 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.1] bump versions +* Prefixed helper functions with chart name +* Merge pull request #403 from ChrsMark/patch-1 +* Remove in_cluster config from add_kubernetes_metadata +* [helm] make more explicit that helm 3 is not supported +* [filebeat] update link for hostNetworking setting +* [filebeat] disable host networking by default + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 5d28831a..b1f2d941 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -8,8 +8,7 @@ filebeatConfig: + containers.ids: + - '*' + processors: +- - add_kubernetes_metadata: +- in_cluster: true ++ - add_kubernetes_metadata: ~ + + output.elasticsearch: + host: '${NODE_NAME}' +@@ -33,9 +32,9 @@ extraVolumes: [] + + # Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib +-hostNetworking: true ++hostNetworking: false + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.0 + +**Release date:** 2019-12-02 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.0] release +* bump elastic stack versions to 6.8.5 and 7.4.2 +* Merge branch 'master' into add-support-for-envfrom +* Merge pull request #322 from pbecotte/FilebeatVolumes +* Merge pull request #321 from pbecotte/HostnetworkForFilebeat +* Merge branch 'master' into issue_267 +* change ordering +* readme tweak +* tweaks to name and test +* tests +* update README +* added support for envFrom +* update install doc +* [filebeat] fix beats icon +* [helm] add some notice about tested helm version + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 0adcae1f..5d28831a 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -12,6 +12,7 @@ filebeatConfig: + in_cluster: true + + output.elasticsearch: ++ host: '${NODE_NAME}' + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + + # Extra environment variables to append to the DaemonSet pod spec. +@@ -21,20 +22,20 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +-extraVolumeMounts: "" ++extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraVolumes: "" ++extraVolumes: [] + # - name: extras + # emptyDir: {} + + # Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib +- ++hostNetworking: true + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.4.1" ++imageTag: "7.5.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.4.1 + +**Release date:** 2019-10-22 + +![AppVersion: 7.4.1](https://img.shields.io/static/v1?label=AppVersion&message=7.4.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* 7.4.1 release +* [helm] add chart api version This is required witrh Helm 2.15.0 following https://github.com/helm/helm/pull/6180 +* [Issue #267] Support fullnameOverride in kibana, filebeat, metricbeat charts +* use a list for extra volume mounts to match the comments and other values +* use host networking for filebeat so that the stats have the correct node information + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 1e6af758..0adcae1f 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.4.0" ++imageTag: "7.4.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.4.0 + +**Release date:** 2019-10-01 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.4.0 Release +* [filebeat] change min k8s version due to daemonset apiVersion + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 284185ac..1e6af758 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.3.2" ++imageTag: "7.4.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.3.2 + +**Release date:** 2019-09-19 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.2 Release +* Clarify priorityClassName default for filebeat chart +* Add priorityClassName to filebeat chart +* [filebeat][metricbeat] Add configurable nodeSelector and affinit… (#243) +* [filebeat][metricbeat] Add configurable nodeSelector and affinity spec +* Update documentation and defaults for tmpl values + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 3da889cd..284185ac 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -21,12 +21,12 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +-extraVolumeMounts: [] ++extraVolumeMounts: "" + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraVolumes: [] ++extraVolumes: "" + # - name: extras + # emptyDir: {} + +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -90,6 +90,14 @@ terminationGracePeriod: 30 + + tolerations: [] + ++nodeSelector: {} ++ ++affinity: {} ++ ++# This is the PriorityClass settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ++priorityClassName: "" ++ + updateStrategy: RollingUpdate + + # Override various naming aspects of this chart +``` + +## 7.3.0 + +**Release date:** 2019-07-31 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.0 Release + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 9cf90069..3da889cd 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.2.0" ++imageTag: "7.3.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.2.1-0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.2.1-0 Release +* [filebeat] additionals labels + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 9bb996c5..9cf90069 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -53,6 +53,9 @@ readinessProbe: + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + ++# additionals labels ++labels: {} ++ + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +``` + +## 7.2.0 + +**Release date:** 2019-07-01 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #194 from elastic/seven_too_oh + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 1bb78011..9bb996c5 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.1.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.1.1 + +**Release date:** 2019-07-01 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #188 from cclauss/patch-1 + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.2.0 + +**Release date:** 2019-07-01 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.2.0 +* Fix octal literal to work in both Python 2 and Python 3 +* Fix filebeat_test with secretName +* Change value for secretName +* Fix unintended new line +* change secretName field +* Drop support for 5.x +* Update beta notice and add chart descriptions + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 1bb78011..9bb996c5 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.1.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.1.1 + +**Release date:** 2019-06-06 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.1.1 +* Remove fsGroup from container level security context + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index a49d1328..1bb78011 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.1.0" ++imageTag: "7.1.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -58,11 +58,9 @@ podAnnotations: {} + + # Various pod security context settings. Bear in mind that many of these have an impact on Filebeat functioning properly. + # +-# - Filesystem group for the Filebeat user. The official elastic docker images always have an id of 1000. + # - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. + # - Whether to execute the Filebeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. + podSecurityContext: +- fsGroup: 1000 + runAsUser: 0 + privileged: false + +``` + +## 7.1.0 + +**Release date:** 2019-05-21 + +![AppVersion: 7.1.0](https://img.shields.io/static/v1?label=AppVersion&message=7.1.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.1.0 release and promotion to beta status +* Add usage notes for Filebeat +* Update default value for filebeatConfig +* Add namespace to hostPath to make sure it is unique per cluster +* Fix 6.x example and statefulset links in readme +* Avoid name collisions for the default serviceAccount + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index e8c1c6da..a49d1328 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -34,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.0.1" ++imageTag: "7.1.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -74,8 +74,8 @@ resources: + cpu: "1000m" + memory: "200Mi" + +-# Service account that the pod will use +-serviceAccount: filebeat ++# Custom service account override that the pod will use ++serviceAccount: "" + + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security other sensitive values +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-07 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump versions +* Add readinessProbe and more tests +* Only use CA for filebeat security example +* Add 6.x and security examples (certificates not working yet) +* Use fullname for the configmap map. +* WIP: Add integration tests and other tweaks for filebeat +* [filebeat] python templating tests +* Remove unused filebeat PDB template + +### Default value changes + +```diff +diff --git a/filebeat/values.yaml b/filebeat/values.yaml +index 6fbe4493..e8c1c6da 100755 +--- a/filebeat/values.yaml ++++ b/filebeat/values.yaml +@@ -1,10 +1,18 @@ + --- + # Allows you to add any config files in /usr/share/filebeat + # such as filebeat.yml +-filebeatConfig: {} +-# filebeat.yml: | +-# key: +-# nestedkey: value ++filebeatConfig: ++ filebeat.yml: | ++ filebeat.inputs: ++ - type: docker ++ containers.ids: ++ - '*' ++ processors: ++ - add_kubernetes_metadata: ++ in_cluster: true ++ ++ output.elasticsearch: ++ hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + + # Extra environment variables to append to the DaemonSet pod spec. + # This will be appended to the current 'env:' key. You can use any of the kubernetes env +@@ -26,7 +34,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/filebeat" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -36,6 +44,12 @@ livenessProbe: + periodSeconds: 10 + timeoutSeconds: 5 + ++readinessProbe: ++ failureThreshold: 3 ++ initialDelaySeconds: 10 ++ periodSeconds: 10 ++ timeoutSeconds: 5 ++ + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-04-26 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Initial commit of Filebeat chart + +### Default value changes + +```diff +--- +# Allows you to add any config files in /usr/share/filebeat +# such as filebeat.yml +filebeatConfig: {} +# filebeat.yml: | +# key: +# nestedkey: value + +# Extra environment variables to append to the DaemonSet pod spec. +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: [] +# - name: MY_ENVIRONMENT_VAR +# value: the_value_goes_here + +extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +extraVolumes: [] + # - name: extras + # emptyDir: {} + +# Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata). +hostPathRoot: /var/lib + +image: "docker.elastic.co/beats/filebeat" +imageTag: "7.0.0" +imagePullPolicy: "IfNotPresent" +imagePullSecrets: [] + +livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +# Whether this chart should self-manage its service account, role, and associated role binding. +managedServiceAccount: true + +podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +# Various pod security context settings. Bear in mind that many of these have an impact on Filebeat functioning properly. +# +# - Filesystem group for the Filebeat user. The official elastic docker images always have an id of 1000. +# - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. +# - Whether to execute the Filebeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. +podSecurityContext: + fsGroup: 1000 + runAsUser: 0 + privileged: false + +resources: + requests: + cpu: "100m" + memory: "100Mi" + limits: + cpu: "1000m" + memory: "200Mi" + +# Service account that the pod will use +serviceAccount: filebeat + +# A list of secrets and their paths to mount inside the pod +# This is useful for mounting certificates for security other sensitive values +secretMounts: [] +# - name: filebeat-certificates +# secretName: filebeat-certificates +# path: /usr/share/filebeat/certs + +# How long to wait for Filebeat pods to stop gracefully +terminationGracePeriod: 30 + +tolerations: [] + +updateStrategy: RollingUpdate + +# Override various naming aspects of this chart +# Only edit these if you know what you're doing +nameOverride: "" +fullnameOverride: "" +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/examples/kibana.md b/examples/kibana.md new file mode 100644 index 0000000..ee9b1ee --- /dev/null +++ b/examples/kibana.md @@ -0,0 +1,1882 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [elasticsearch][kibana] remove oss examples (#1046) +* [meta] add build status and artifact hub badges (#1033) +* Fix post-lifecycle hook example (#1028) +* [elasticsearch][kibana] Add flexible ingress (#994) +* [all] add hostaliases (#970) +* [kibana] add service.httpPortName config in chart (#843) +* [meta] stabilize CI tests (#935) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* Add warning comment placeholder (main branch) (#886) +* Update warning on charts readme (#863) +* support tpl in logstashConfig, logstashPipeline and kibanaConfig (#717) +* [elasticsearch][kibana] disable nss dentry cache (#818) +* [meta] update changelog for 7.9.2 release (#824) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* Update README.md (#749) +* [doc] fix some links (#737) +* [Kibana] Add loadbalancerIP to service spec in kibana (#726) +* [doc] fix copy-paste errors (#700) + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index ba6746c9..9f59286a 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -28,6 +28,12 @@ secretMounts: [] + # path: /usr/share/kibana/data/kibana.keystore + # subPath: kibana.keystore # optional + ++hostAliases: [] ++#- ip: "127.0.0.1" ++# hostnames: ++# - "foo.local" ++# - "bar.local" ++ + image: "docker.elastic.co/kibana/kibana" + imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" +@@ -95,6 +101,7 @@ updateStrategy: + + service: + type: ClusterIP ++ loadBalancerIP: "" + port: 5601 + nodePort: "" + labels: {} +@@ -106,15 +113,17 @@ service: + # service.beta.kubernetes.io/cce-load-balancer-internal-vpc: "true" + loadBalancerSourceRanges: [] + # 0.0.0.0/0 ++ httpPortName: http + + ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" +- path: / + hosts: +- - chart-example.local ++ - host: chart-example.local ++ paths: ++ - path: / + tls: [] + # - secretName: chart-example-tls + # hosts: +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 486954a4..ba6746c9 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -29,7 +29,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) +* [kibana] Add extensible label support (#555) +* [kibana] String/YAML conditions for `.Values.{extraContainers,extraInitContainers}` (#637) + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index b843b7f7..486954a4 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -29,7 +29,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* Merge branch 'master' into doc-improvements +* nit, add missing trailing lines +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [kibana] add missing values in readme +* [kibana] move deprecated value +* [kibana] update default values +* [kibana] format README +* Merge branch 'master' into master +* [kibana] Add envFrom parameter +* Use busybox for ES testing password generation +* Use busybox for key generation in testing +* Merge pull request #549 from kuisathaverat/fix-readinessProbe + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 468a9853..b843b7f7 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -1,6 +1,4 @@ + --- +- +-elasticsearchURL: "" # "http://elasticsearch-master:9200" + elasticsearchHosts: "http://elasticsearch-master:9200" + + replicas: 1 +@@ -14,6 +12,13 @@ extraEnvs: + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + ++# Allows you to load environment variables from kubernetes secret or config map ++envFrom: [] ++# - secretRef: ++# name: env-secret ++# - configMapRef: ++# name: config-map ++ + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +@@ -24,7 +29,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -137,3 +142,6 @@ lifecycle: {} + # postStart: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ ++# Deprecated - use only with versions < 6.6 ++elasticsearchURL: "" # "http://elasticsearch-master:9200" +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version +* fix: allow redirection on the readinessProbe +* Merge pull request #540 from jmlrt/kibana-memory +* [kibana] update default values +* [kibana] set cpu request = limits +* [kibana] increase nodejs memory limit +* [kibana] increase memory requests/limits + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 9b172945..468a9853 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -8,7 +8,9 @@ replicas: 1 + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +-extraEnvs: [] ++extraEnvs: ++ - name: "NODE_OPTIONS" ++ value: "--max-old-space-size=1800" + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +@@ -22,7 +24,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -33,11 +35,11 @@ podAnnotations: {} + + resources: + requests: +- cpu: "100m" +- memory: "500Mi" ++ cpu: "1000m" ++ memory: "2Gi" + limits: + cpu: "1000m" +- memory: "1Gi" ++ memory: "2Gi" + + protocol: http + +``` + +## 7.6.1 + +**Release date:** 2020-03-20 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge branch 'master' of https://github.com/elastic/helm-charts + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index b9e71c39..9b172945 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.6.0 + +**Release date:** 2020-03-19 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Fix linting issues + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version +* Add tests to ensure the service selectors bind correctly to pods created by the deployment +* Fix app label to match service if chart is deployed with an alias + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index b9e71c39..9b172945 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [kibana] fix typo +* [kibana] add extra init containers +* [kibana] add extracontainers + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index f708013e..b9e71c39 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -73,6 +73,16 @@ priorityClassName: "" + + httpPort: 5601 + ++extraContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ ++extraInitContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ + updateStrategy: + type: "Recreate" + +``` + +## 7.5.2 + +**Release date:** 2020-01-21 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.2] bump versions +* [doc] switch relative URLs to absolute URLs +* Merge pull request #419 from jmlrt/kibana-plugins-doc +* Merge pull request #408 from maedadev/master +* [Kibana] remove useless maxUnavailable in Kibana chart (#422) +* [kibana] add doc for plugin install + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 12cfc09f..f708013e 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -73,11 +73,6 @@ priorityClassName: "" + + httpPort: 5601 + +-# This is the max unavailable setting for the pod disruption budget +-# The default value of 1 will make sure that kubernetes won't allow more than 1 +-# of your pods to be unavailable during maintenance +-maxUnavailable: 1 +- + updateStrategy: + type: "Recreate" + +``` + +## 7.5.1 + +**Release date:** 2019-12-21 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge branch 'master' into master + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index cb3ee52b..12cfc09f 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -85,6 +85,7 @@ service: + type: ClusterIP + port: 5601 + nodePort: "" ++ labels: {} + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 +``` + +## 7.5.0 + +**Release date:** 2019-12-21 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* update README about default service values + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index c67ba204..cb3ee52b 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -91,6 +91,8 @@ service: + # service.beta.kubernetes.io/azure-load-balancer-internal: "true" + # service.beta.kubernetes.io/openstack-internal-load-balancer: "true" + # service.beta.kubernetes.io/cce-load-balancer-internal-vpc: "true" ++ loadBalancerSourceRanges: [] ++ # 0.0.0.0/0 + + ingress: + enabled: false +``` + +## 7.5.1 + +**Release date:** 2019-12-19 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge pull request #415 from jmlrt/add-custom-labels-to-pods + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 947e47dd..7ed80bc4 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.5.0 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [kibana] apply labels to all pods + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.5.1 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.1] bump versions +* add test for service labels +* default values for labels +* add support for service labels +* update docs for service labels +* correct dictionary to list +* add support for loadBalancerSourceRanges +* Prefixed helper functions with chart name +* [helm] make more explicit that helm 3 is not supported + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index c67ba204..7ed80bc4 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -85,6 +85,7 @@ service: + type: ClusterIP + port: 5601 + nodePort: "" ++ labels: {} + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 +``` + +## 7.5.0 + +**Release date:** 2019-12-02 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.0] release +* bump elastic stack versions to 6.8.5 and 7.4.2 +* Merge branch 'master' into issue_267 +* update install doc +* [helm] add some notice about tested helm version + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 77ed94f4..c67ba204 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.4.1" ++imageTag: "7.5.0" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.4.1 + +**Release date:** 2019-10-22 + +![AppVersion: 7.4.1](https://img.shields.io/static/v1?label=AppVersion&message=7.4.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* 7.4.1 release +* [helm ] force empty string to "null" values This fix the following errors during `helm lint --strict`: ``` ==> Linting . [ERROR] templates/: render error in "elasticsearch/templates/service.yaml": template: elasticsearch/templates/service.yaml:24:14: executing "elasticsearch/templates/service.yaml" at <.Values.service.nodePort>: map has no entry for key "nodePort" ``` +* [helm] add chart api version This is required witrh Helm 2.15.0 following https://github.com/helm/helm/pull/6180 +* [Issue #267] Support fullnameOverride in kibana, filebeat, metricbeat charts +* [kibana] remove unused antiAffinity keys This keys are present in README and values but aren't used in the templates + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 4e3668c8..77ed94f4 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.4.0" ++imageTag: "7.4.1" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -71,14 +71,6 @@ serviceAccount: "" + # https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass + priorityClassName: "" + +-# By default this will make sure two pods don't end up on the same node +-# Changing this to a region would allow you to spread pods across regions +-antiAffinityTopologyKey: "kubernetes.io/hostname" +- +-# Hard means that by default pods will only be scheduled if there are enough nodes for them +-# and that they will never end up on the same node. Setting this to soft will do this "best effort" +-antiAffinity: "hard" +- + httpPort: 5601 + + # This is the max unavailable setting for the pod disruption budget +@@ -92,7 +84,7 @@ updateStrategy: + service: + type: ClusterIP + port: 5601 +- nodePort: ++ nodePort: "" + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 +``` + +## 7.4.0 + +**Release date:** 2019-10-01 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.4.0 Release +* [kibana] change min k8s version due to deployment apiVersion +* [kibana] Add compatibility for k8s 1.16 +* Add working examples for running Elasticsearch and Kibana on ope… (#263) + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 1af52b81..4e3668c8 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.3.2" ++imageTag: "7.4.0" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.3.2 + +**Release date:** 2019-09-23 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [kibana] Allow configuring lifecycle events (#295) +* Update kibana/examples/openshift/Makefile + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index cef949e6..1af52b81 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -34,7 +34,7 @@ podAnnotations: {} + resources: + requests: + cpu: "100m" +- memory: "500m" ++ memory: "500Mi" + limits: + cpu: "1000m" + memory: "1Gi" +@@ -127,3 +127,11 @@ affinity: {} + + nameOverride: "" + fullnameOverride: "" ++ ++lifecycle: {} ++ # preStop: ++ # exec: ++ # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ # postStart: ++ # exec: ++ # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] +``` + +## 7.3.0 + +**Release date:** 2019-09-20 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Fix fsGroup and runAsUser for Kibana +* fix "; \" when there is no additional command in the makefiles +* [kibana] Allow configuring lifecycle events +* 7.3.2 Release (#293) + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.3.2 + +**Release date:** 2019-09-19 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.2 Release +* [kibana] Explicitly test for a 200 for readinessProbe +* use same env variable as application (#272) +* use same env variable as application +* Update README.md +* kibana: fixed bogus request of 500 millibytes mem +* Add working examples for running Elasticsearch and Kibana on openshift +* Clarify priorityClassName default for kibana chart + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index cef949e6..51a76470 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -22,7 +22,7 @@ secretMounts: [] + # subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + + # additionals labels +@@ -34,7 +34,7 @@ podAnnotations: {} + resources: + requests: + cpu: "100m" +- memory: "500m" ++ memory: "500Mi" + limits: + cpu: "1000m" + memory: "1Gi" +``` + +## 7.3.0 + +**Release date:** 2019-07-31 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.0 Release +* [kibana] Add subPath support to secretMounts + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index cf08ef6f..cef949e6 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -16,12 +16,13 @@ extraEnvs: [] + # This is useful for mounting certificates for security and for mounting + # the X-Pack license + secretMounts: [] +-# - name: elastic-certificates +-# secretName: elastic-certificates +-# path: /usr/share/elasticsearch/config/certs ++# - name: kibana-keystore ++# secretName: kibana-keystore ++# path: /usr/share/kibana/data/kibana.keystore ++# subPath: kibana.keystore # optional + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.2.0" ++imageTag: "7.3.0" + imagePullPolicy: "IfNotPresent" + + # additionals labels +``` + +## 7.2.1-0 + +**Release date:** 2019-07-19 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #225 from plumcraft/add-kibana-additionals-labels +* Update kibana/tests/kibana_test.py + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.2.0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [kibana] - Add additionals labels + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index e34407e2..cf08ef6f 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -24,6 +24,9 @@ image: "docker.elastic.co/kibana/kibana" + imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + ++# additionals labels ++labels: {} ++ + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +``` + +## 7.2.1-0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.2.1-0 Release +* Merge pull request #205 from elastic/alright_keep_your_secrets +* Fixup the instructions for how to actual interact with the deployment +* [kibana] Update healthCheckPath to mention basePath usage +* Use generated encryption key for Kibana +* Merge branch 'master' into feat/kibana-add-pod-annotations +* Added kibana pod annotations +* Update Kibana and Elasticsearch security examples to be generated +* [kibana] Fixup security install docs +* [kibana] Make imagePullPolicy actually do something +* Merge pull request #194 from elastic/seven_too_oh + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index e1581bef..e34407e2 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -24,6 +24,9 @@ image: "docker.elastic.co/kibana/kibana" + imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + ++podAnnotations: {} ++ # iam.amazonaws.com/role: es-cluster ++ + resources: + requests: + cpu: "100m" +``` + +## 7.2.0 + +**Release date:** 2019-07-01 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.2.0 +* Merge pull request #182 from hxquangnhat/patch-1 +* wrong secretName value +* Merge pull request #172 from naseemkullah/kibana-non-root +* Merge pull request #184 from diegofernandes/master +* fix support wildcard tls host on ingress +* Run as 1000 +* Always run tests against localhost or the service endpoint +* Test kibana directly on 0.0.0.0 instead of checking the port +* Drop support for 5.x +* [kibana] Always set server.host to the docker default +* [kibana] Add configurable nodePort to service spec +* Update beta notice and add chart descriptions + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index d3a212f5..e1581bef 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.1.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -34,6 +34,8 @@ resources: + + protocol: http + ++serverHost: "0.0.0.0" ++ + healthCheckPath: "/app/kibana" + + # Allows you to add any config files in /usr/share/kibana/config/ +@@ -44,8 +46,17 @@ kibanaConfig: {} + # nestedkey: value + + # If Pod Security Policy in use it may be required to specify security context as well as service account +-podSecurityContext: {} +- #runAsUser: "place the user id here" ++ ++podSecurityContext: ++ fsGroup: 1000 ++ ++securityContext: ++ capabilities: ++ drop: ++ - ALL ++ # readOnlyRootFilesystem: true ++ runAsNonRoot: true ++ runAsUser: 1000 + + serviceAccount: "" + +@@ -74,6 +85,7 @@ updateStrategy: + service: + type: ClusterIP + port: 5601 ++ nodePort: + annotations: {} + # cloud.google.com/load-balancer-type: "Internal" + # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 +``` + +## 7.1.1 + +**Release date:** 2019-06-07 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #151 from natebwangsut/master +* Fix annotation unit test error +* Fix wrong README.md service defaults + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index e7bfac25..d3a212f5 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.1.0" ++imageTag: "7.1.1" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 7.1.0 + +**Release date:** 2019-06-06 + +![AppVersion: 7.1.0](https://img.shields.io/static/v1?label=AppVersion&message=7.1.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Added kibana_test for service annotation + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 95e576e3..e7bfac25 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -74,6 +74,12 @@ updateStrategy: + service: + type: ClusterIP + port: 5601 ++ annotations: {} ++ # cloud.google.com/load-balancer-type: "Internal" ++ # service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 ++ # service.beta.kubernetes.io/azure-load-balancer-internal: "true" ++ # service.beta.kubernetes.io/openstack-internal-load-balancer: "true" ++ # service.beta.kubernetes.io/cce-load-balancer-internal-vpc: "true" + + ingress: + enabled: false +``` + +## 7.1.1 + +**Release date:** 2019-06-06 + +![AppVersion: 7.1.1](https://img.shields.io/static/v1?label=AppVersion&message=7.1.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.1.1 +* Added service annotations example +* Added README section about k8s service +* Update Kibana service.yaml +* Remove fsGroup from container level security context +* Merge pull request #138 from elastic/the_sooner_the_beta + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index c6f3e940..297e9df3 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.1.0" ++imageTag: "7.1.1" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -46,7 +46,6 @@ kibanaConfig: {} + # If Pod Security Policy in use it may be required to specify security context as well as service account + podSecurityContext: {} + #runAsUser: "place the user id here" +- #fsGroup: "place the group id here" + + serviceAccount: "" + +``` + +## 7.1.0 + +**Release date:** 2019-05-21 + +![AppVersion: 7.1.0](https://img.shields.io/static/v1?label=AppVersion&message=7.1.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.1.0 release and promotion to beta status +* Merge pull request #134 from elastic/glass_o_port +* Merge pull request #109 from lancespeelmon/priorityClassName +* [kibana] Explictly set the targetPort to the defined http port +* RE: @Crazybus add a basic template test + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 5f44f1cd..c6f3e940 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.0.1" ++imageTag: "7.1.0" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-08 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into priorityClassName +* RE: @Crazybus Could you also add these new value file into each charts readme + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 116b626e..5f44f1cd 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-05-08 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* RE: @Crazybus I think this should be an empty string +* Bump versions +* WIP: Add integration tests and other tweaks for filebeat +* Merge pull request #117 from elastic/filebeat-chart +* Merge pull request #115 from elastic/up_and_at_them + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 3261206f..116b626e 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -50,6 +50,10 @@ podSecurityContext: {} + + serviceAccount: "" + ++# This is the PriorityClass settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ++priorityClassName: "" ++ + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions + antiAffinityTopologyKey: "kubernetes.io/hostname" +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-01 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Release 7.0.1 and update the changelog +* [elasticsearch] Add upgrade integration test +* add support for k8s PriorityClass +* Fix some incorrect es/kibana default values in docs +* [kibana] Make health check path configurable +* Add explicit chart version to the imageTag example +* Match yml and yaml when bumping versions +* Latest 5.x release is actually 5.6.16 + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 299f5e7c..7b79683b 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -21,7 +21,7 @@ secretMounts: [] + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "7.0.0" ++imageTag: "7.0.1" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -34,6 +34,8 @@ resources: + + protocol: http + ++healthCheckPath: "/app/kibana" ++ + # Allows you to add any config files in /usr/share/kibana/config/ + # such as kibana.yml + kibanaConfig: {} +``` + +## 7.0.0-alpha1 + +**Release date:** 2019-04-16 + +![AppVersion: 7.0.0](https://img.shields.io/static/v1?label=AppVersion&message=7.0.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch to 7.x as the default version +* Update documentation links +* Update examples to 7.0.0 +* Enable strict mode for helm lint test +* Merge pull request #79 from elastic/bumper_cars + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 3ee12e3c..299f5e7c 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -1,27 +1,27 @@ + --- + +-elasticsearchURL: "http://elasticsearch-master:9200" +-#elasticsearchHosts: "http://elasticsearch-master:9200" ++elasticsearchURL: "" # "http://elasticsearch-master:9200" ++elasticsearchHosts: "http://elasticsearch-master:9200" + + replicas: 1 + + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +-extraEnvs: ++extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + + # A list of secrets and their paths to mount inside the pod + # This is useful for mounting certificates for security and for mounting + # the X-Pack license +-secretMounts: ++secretMounts: [] + # - name: elastic-certificates + # secretName: elastic-certificates + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.6.2" ++imageTag: "7.0.0" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -36,21 +36,21 @@ protocol: http + + # Allows you to add any config files in /usr/share/kibana/config/ + # such as kibana.yml +-# kibanaConfig: ++kibanaConfig: {} + # kibana.yml: | + # key: + # nestedkey: value + + # If Pod Security Policy in use it may be required to specify security context as well as service account +-#podSecurityContext: ++podSecurityContext: {} + #runAsUser: "place the user id here" + #fsGroup: "place the group id here" +- +-#serviceAccount: ++ ++serviceAccount: "" + + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions +-antiAffinityTopologyKey: "kubernetes.io/hostname" ++antiAffinityTopologyKey: "kubernetes.io/hostname" + + # Hard means that by default pods will only be scheduled if there are enough nodes for them + # and that they will never end up on the same node. Setting this to soft will do this "best effort" +@@ -94,3 +94,6 @@ imagePullSecrets: [] + nodeSelector: {} + tolerations: [] + affinity: {} ++ ++nameOverride: "" ++fullnameOverride: "" +``` + +## 6.6.2-alpha1 + +**Release date:** 2019-03-15 + +![AppVersion: 6.6.2](https://img.shields.io/static/v1?label=AppVersion&message=6.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.6.2-alpha1 +* Drop snapshot qualifier from kibana test +* Add 7.1.0 snapshot testing +* :TableFormat +* Clarify elasticsearchURL deprecation vs support +* fix url index +* Re-arrange elasticsearch url and hosts +* PR feedback +* Kibana 7 beta1 variable name change +* Bump 7 alpha testing to 7 beta 1 + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 3def480a..3ee12e3c 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -1,6 +1,7 @@ + --- + + elasticsearchURL: "http://elasticsearch-master:9200" ++#elasticsearchHosts: "http://elasticsearch-master:9200" + + replicas: 1 + +@@ -20,7 +21,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.6.0" ++imageTag: "6.6.2" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 6.6.0-alpha1 + +**Release date:** 2019-01-29 + +![AppVersion: 6.6.0](https://img.shields.io/static/v1?label=AppVersion&message=6.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.6.0 +* Specify http/https protocol instead of trying to determine it +* WIP: Add configmap support for Kibana +* Add test coverage for serviceAccount and podSecurityContext +* requested corrections +* adding securityContext/PSP support for Kibana +* Merge pull request #33 from elastic/shufalaughagus + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 6f2d0a6a..3def480a 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.4" ++imageTag: "6.6.0" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -31,6 +31,22 @@ resources: + cpu: "1000m" + memory: "1Gi" + ++protocol: http ++ ++# Allows you to add any config files in /usr/share/kibana/config/ ++# such as kibana.yml ++# kibanaConfig: ++# kibana.yml: | ++# key: ++# nestedkey: value ++ ++# If Pod Security Policy in use it may be required to specify security context as well as service account ++#podSecurityContext: ++ #runAsUser: "place the user id here" ++ #fsGroup: "place the group id here" ++ ++#serviceAccount: ++ + # By default this will make sure two pods don't end up on the same node + # Changing this to a region would allow you to spread pods across regions + antiAffinityTopologyKey: "kubernetes.io/hostname" +@@ -53,11 +69,6 @@ service: + type: ClusterIP + port: 5601 + +-# Set this if you are setting server.ssl.enabled in Kibana. +-# This value is a hostname accepted by the SSL certificate provided to kibana. +-# Configuring this allows the readinessProbe to successfully check Kibana over HTTPS. +-kibanaSSLHostname: localhost +- + ingress: + enabled: false + annotations: {} +``` + +## 6.5.4-alpha3 + +**Release date:** 2019-01-14 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch helm chart icons to png +* Update the regex pattern for Kibana 5.x version +* Set proper credentials for connecting to Kibana + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2019-01-07 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Switch Kibana over to goss testing setup + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha2 + +**Release date:** 2019-01-14 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump version to 6.5.4-alpha2 + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2019-01-08 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge pull request #30 from jethr0null/add_logos +* Updated icon links + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 62f105ae..6f2d0a6a 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.0" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -53,6 +53,11 @@ service: + type: ClusterIP + port: 5601 + ++# Set this if you are setting server.ssl.enabled in Kibana. ++# This value is a hostname accepted by the SSL certificate provided to kibana. ++# Configuring this allows the readinessProbe to successfully check Kibana over HTTPS. ++kibanaSSLHostname: localhost ++ + ingress: + enabled: false + annotations: {} +``` + +## 6.5.0 + +**Release date:** 2019-01-04 + +![AppVersion: 6.5.0](https://img.shields.io/static/v1?label=AppVersion&message=6.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Added icons to ES and Kibana Chart.yaml +* Add Kibana 7 example and update Elasticsearch 7 to also use goss +* Merge pull request #26 from elastic/respect_mah_securitay +* Add https to the security example for Kibana +* Set fullname to start with the overridden name + +### Default value changes + +```diff +# No changes in this release +``` + +## 6.5.4-alpha1 + +**Release date:** 2018-12-31 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Merge branch 'master' into issue/16 +* Add note about the setting being specifically for readinessProbe. + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 135df800..6f2d0a6a 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.3" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -55,6 +55,7 @@ service: + + # Set this if you are setting server.ssl.enabled in Kibana. + # This value is a hostname accepted by the SSL certificate provided to kibana. ++# Configuring this allows the readinessProbe to successfully check Kibana over HTTPS. + kibanaSSLHostname: localhost + + ingress: +``` + +## 6.5.3-alpha1 + +**Release date:** 2018-12-28 + +![AppVersion: 6.5.3](https://img.shields.io/static/v1?label=AppVersion&message=6.5.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Add kibanaSSLHostname to README + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index f9975fb8..135df800 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -53,6 +53,10 @@ service: + type: ClusterIP + port: 5601 + ++# Set this if you are setting server.ssl.enabled in Kibana. ++# This value is a hostname accepted by the SSL certificate provided to kibana. ++kibanaSSLHostname: localhost ++ + ingress: + enabled: false + annotations: {} +``` + +## 6.5.4-alpha1 + +**Release date:** 2018-12-28 + +![AppVersion: 6.5.4](https://img.shields.io/static/v1?label=AppVersion&message=6.5.4&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Update maintainer mailing list and bump to 6.5.4 +* Add https support to readinessProbe + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index f9975fb8..03f50203 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.3" ++imageTag: "6.5.4" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 6.5.3-alpha1 + +**Release date:** 2018-12-13 + +![AppVersion: 6.5.3](https://img.shields.io/static/v1?label=AppVersion&message=6.5.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump default version to 6.5.3 + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 50e4e3c8..f9975fb8 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.2" ++imageTag: "6.5.3" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 6.5.2-alpha1 + +**Release date:** 2018-12-06 + +![AppVersion: 6.5.2](https://img.shields.io/static/v1?label=AppVersion&message=6.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump to version 6.5.2 and append the alpha1 release tag +* Update Kibana README +* Switch Kibana to use the recreate strategy by default + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 32a2794c..50e4e3c8 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.5.0" ++imageTag: "6.5.2" + imagePullPolicy: "IfNotPresent" + + resources: +@@ -46,6 +46,9 @@ httpPort: 5601 + # of your pods to be unavailable during maintenance + maxUnavailable: 1 + ++updateStrategy: ++ type: "Recreate" ++ + service: + type: ClusterIP + port: 5601 +``` + +## 6.5.0 + +**Release date:** 2018-11-20 + +![AppVersion: 6.5.0](https://img.shields.io/static/v1?label=AppVersion&message=6.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Bump default version to 6.5.0 + +### Default value changes + +```diff +diff --git a/kibana/values.yaml b/kibana/values.yaml +index 99dbcd23..32a2794c 100755 +--- a/kibana/values.yaml ++++ b/kibana/values.yaml +@@ -20,7 +20,7 @@ secretMounts: + # path: /usr/share/elasticsearch/config/certs + + image: "docker.elastic.co/kibana/kibana" +-imageTag: "6.4.3" ++imageTag: "6.5.0" + imagePullPolicy: "IfNotPresent" + + resources: +``` + +## 6.4.3 + +**Release date:** 2018-11-13 + +![AppVersion: 6.4.3](https://img.shields.io/static/v1?label=AppVersion&message=6.4.3&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* first commit + +### Default value changes + +```diff +--- + +elasticsearchURL: "http://elasticsearch-master:9200" + +replicas: 1 + +# Extra environment variables to append to this nodeGroup +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: +# - name: MY_ENVIRONMENT_VAR +# value: the_value_goes_here + +# A list of secrets and their paths to mount inside the pod +# This is useful for mounting certificates for security and for mounting +# the X-Pack license +secretMounts: +# - name: elastic-certificates +# secretName: elastic-certificates +# path: /usr/share/elasticsearch/config/certs + +image: "docker.elastic.co/kibana/kibana" +imageTag: "6.4.3" +imagePullPolicy: "IfNotPresent" + +resources: + requests: + cpu: "100m" + memory: "500m" + limits: + cpu: "1000m" + memory: "1Gi" + +# By default this will make sure two pods don't end up on the same node +# Changing this to a region would allow you to spread pods across regions +antiAffinityTopologyKey: "kubernetes.io/hostname" + +# Hard means that by default pods will only be scheduled if there are enough nodes for them +# and that they will never end up on the same node. Setting this to soft will do this "best effort" +antiAffinity: "hard" + +httpPort: 5601 + +# This is the max unavailable setting for the pod disruption budget +# The default value of 1 will make sure that kubernetes won't allow more than 1 +# of your pods to be unavailable during maintenance +maxUnavailable: 1 + +service: + type: ClusterIP + port: 5601 + +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: / + hosts: + - chart-example.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 3 + timeoutSeconds: 5 + +imagePullSecrets: [] +nodeSelector: {} +tolerations: [] +affinity: {} +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/examples/logstash.md b/examples/logstash.md new file mode 100644 index 0000000..63ab019 --- /dev/null +++ b/examples/logstash.md @@ -0,0 +1,1024 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [logstash] Add option loadBalancerIP to service (#1099) +* [elasticsearch][kibana] remove oss examples (#1046) +* [logstash] Add support to use pattern files (#883) +* [meta] add build status and artifact hub badges (#1033) +* [logstash] disable privileged container in psp (#1000) +* [all] add hostaliases (#970) +* [meta] stabilize CI tests (#935) +* [logstash] add rbac custom annotations (#764) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* Add warning comment placeholder (main branch) (#886) +* Update warning on charts readme (#863) +* Added ingress support to the logstash chart (#793) +* [logstash] use only httpPort in headless service (#839) +* support tpl in logstashConfig, logstashPipeline and kibanaConfig (#717) +* [meta] update changelog for 7.9.2 release (#824) +* [logstash] Fix headless service ports spec (#776) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* [doc] fix some links (#737) +* [logstash] Restart the logstash pod when the secrets have changed (#723) +* Support creating k8s helm secrets for logstash helm chart #705 (#712) +* [doc] fix copy-paste errors (#700) +* [logstash] add headless service for statefulset (#695) + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index d3677222..cfccbd3d 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -25,6 +25,12 @@ logstashPipeline: {} + # } + # output { stdout { } } + ++# Allows you to add any pattern files in your custom pattern dir ++logstashPatternDir: "/usr/share/logstash/patterns/" ++logstashPattern: {} ++# pattern.conf: | ++# DPKG_VERSION [-+~<>\.0-9a-zA-Z]+ ++ + # Extra environment variables to append to this nodeGroup + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -39,9 +45,32 @@ envFrom: [] + # - configMapRef: + # name: config-map + ++# Add sensitive data to k8s secrets ++secrets: [] ++# - name: "env" ++# value: ++# ELASTICSEARCH_PASSWORD: "LS1CRUdJTiBgUFJJVkFURSB" ++# api_key: ui2CsdUadTiBasRJRkl9tvNnw ++# - name: "tls" ++# value: ++# ca.crt: | ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# cert.crt: "LS0tLS1CRUdJTiBlRJRklDQVRFLS0tLS0K" ++# cert.key.filepath: "secrets.crt" # The path to file should be relative to the `values.yaml` file. ++ ++ + # A list of secrets and their paths to mount inside the pod + secretMounts: [] + ++hostAliases: [] ++#- ip: "127.0.0.1" ++# hostnames: ++# - "foo.local" ++# - "bar.local" ++ + image: "docker.elastic.co/logstash/logstash" + imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" +@@ -72,12 +101,16 @@ rbac: + create: false + serviceAccountAnnotations: {} + serviceAccountName: "" ++ annotations: {} ++ #annotation1: "value1" ++ #annotation2: "value2" ++ #annotation3: "value3" + + podSecurityPolicy: + create: false + name: "" + spec: +- privileged: true ++ privileged: false + fsGroup: + rule: RunAsAny + runAsUser: +@@ -220,6 +253,7 @@ lifecycle: {} + service: {} + # annotations: {} + # type: ClusterIP ++# loadBalancerIP: "" + # ports: + # - name: beats + # port: 5044 +@@ -229,3 +263,13 @@ service: {} + # port: 8080 + # protocol: TCP + # targetPort: 8080 ++ ++ingress: ++ enabled: false ++# annotations: {} ++# hosts: ++# - host: logstash.local ++# paths: ++# - path: /logs ++# servicePort: 8080 ++# tls: [] +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) +* Add ServiceAccount annotations (#686) +* [logstash] add security example (#392) + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 9911fada..d3677222 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -43,7 +43,7 @@ envFrom: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -70,6 +70,7 @@ volumeClaimTemplate: + + rbac: + create: false ++ serviceAccountAnnotations: {} + serviceAccountName: "" + + podSecurityPolicy: +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 4c8c475d..9911fada 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -43,7 +43,7 @@ envFrom: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* Merge branch 'master' into doc-improvements +* Merge pull request #591 from jmlrt/logstash-http-host-var +* Merge branch 'master' into doc-improvements +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [logstash] add missing values in readme +* [logstash] update default values +* [logstash] format README +* [logstash] Add envFrom parameter +* [logstash] update doc and values.yaml for http.host issues + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 41225251..4c8c475d 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -3,6 +3,9 @@ replicas: 1 + + # Allows you to add any config files in /usr/share/logstash/config/ + # such as logstash.yml and log4j2.properties ++# ++# Note that when overriding logstash.yml, `http.host: 0.0.0.0` should always be included ++# to make default probes work. + logstashConfig: {} + # logstash.yml: | + # key: +@@ -29,11 +32,18 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + ++# Allows you to load environment variables from kubernetes secret or config map ++envFrom: [] ++# - secretRef: ++# name: env-secret ++# - configMapRef: ++# name: config-map ++ + # A list of secrets and their paths to mount inside the pod + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -152,6 +162,21 @@ securityContext: + # How long to wait for logstash to stop gracefully + terminationGracePeriod: 120 + ++# Probes ++# Default probes are using `httpGet` which requires that `http.host: 0.0.0.0` is part of ++# `logstash.yml`. If needed probes can be disabled or overrided using the following syntaxes: ++# ++# disable livenessProbe ++# livenessProbe: null ++# ++# replace httpGet default readinessProbe by some exec probe ++# readinessProbe: ++# httpGet: null ++# exec: ++# command: ++# - curl ++# - localhost:9600 ++ + livenessProbe: + httpGet: + path: / +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index fae3b75e..41225251 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -33,7 +33,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.1 + +**Release date:** 2020-03-09 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge pull request #505 from ChiefAlexander/master +* Update logstash/tests/logstash_test.py + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 434a2a26..fae3b75e 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -11,8 +11,9 @@ logstashConfig: {} + # key = value + + # Allows you to add any pipeline files in /usr/share/logstash/pipeline/ ++### ***warn*** there is a hardcoded logstash.conf in the image, override it first + logstashPipeline: {} +-# uptime.conf: | ++# logstash.conf: | + # input { + # exec { + # command => "uptime" +@@ -32,7 +33,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.0 + +**Release date:** 2020-03-07 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update based on code review +* Merge pull request #500 from zeph/master + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 498136a5..434a2a26 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -124,6 +124,11 @@ podManagementPolicy: "Parallel" + + httpPort: 9600 + ++# Custom ports to add to logstash ++extraPorts: [] ++ # - name: beats ++ # containerPort: 5001 ++ + updateStrategy: RollingUpdate + + # This is the max unavailable setting for the pod disruption budget +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version +* Update logstash chart to support custom ports +* warn in reference to #499 + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 498136a5..f63913fd 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [logstash] remove duplicate line +* [logstash] Update tests +* [logstash] Add fullnameOverride setting + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index b0286707..498136a5 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.2 + +**Release date:** 2020-01-21 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.2] bump versions +* [doc] switch relative URLs to absolute URLs + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 97e8668e..b0286707 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.1 + +**Release date:** 2019-12-19 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge pull request #415 from jmlrt/add-custom-labels-to-pods + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 42f9cbf1..97e8668e 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.0 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [logstash] apply labels to all pods + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.5.1 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.1] bump versions +* Prefixed helper functions with chart name +* [helm] make more explicit that helm 3 is not supported +* [logstash] increase liveness probe initial delay again +* [logstash] increase liveness probe initial delay logstash can take longer than 60s to fully start and we can sometime reach the point where Logstash full start happen a few second after liveness probe sending the kill signal. +* [logstash] add plugin install faq +* [logstash] update install doc with helm repo instructions + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 2efe2a61..97e8668e 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -150,7 +150,7 @@ livenessProbe: + httpGet: + path: / + port: http +- initialDelaySeconds: 60 ++ initialDelaySeconds: 300 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 +``` + +## 7.5.0 + +**Release date:** 2019-12-02 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.0] release +* bump elastic stack versions to 6.8.5 and 7.4.2 +* [logstash] increase pod memory resources +* [logstash] update logstash default values for memory requirements +* update install doc +* [logstash] increase helm timeout +* [logstash] remove goss port test Goss port test for `tcp:9600` is failing on GKE 1.12 due to https://github.com/aelsabbahy/goss/issues/149. +* [logstash] add 6.x example + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 2470c794..2efe2a61 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.4.1" ++imageTag: "7.5.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -46,10 +46,10 @@ logstashJavaOpts: "-Xmx1g -Xms1g" + resources: + requests: + cpu: "100m" +- memory: "2Gi" ++ memory: "1536Mi" + limits: + cpu: "1000m" +- memory: "2Gi" ++ memory: "1536Mi" + + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] +``` + +## 7.4.1 + +**Release date:** 2019-10-24 + +![AppVersion: 7.4.1](https://img.shields.io/static/v1?label=AppVersion&message=7.4.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [logstash] use helm 2.15.1 +* [logstash] manage services for inputs implementing a listener +* [logstash] manage extra containers +* [logstash] increase probes initial delay +* [logstash] disable persistence by default +* [logstash] cleanup/update values in README and values.yaml +* [logstash] add first python tests +* [logstash] fix goss test +* [logstash] add missing lifecycle +* [logstash] use a different annotation to handle logstash restart if pipeline configmap has changed +* [logstash] remove unused default value +* [logstash] stop enforcing node.name as the default value is already the hostname +* [logstash] remove another deprecated note about storage class +* [logstash] improve pvc purge `release` label need to be added StatefulSet `spec.selector.matchLabels` to be included in pvc so we can select only pvc matching release +* [logstash] add oss and default examples +* [logstash] cleanup remaining pv(c) after goss test +* [logstash] fix deprecated note about default storage class +* [logstash] use elasticsearch in logstash example +* [logstash] add first goss test +* [logstash] add notes +* [logstash] allow using either configmap or env variable for logstash.yml +* [logstash] add first default example +* [logstash] remove service and ingress resources Logstash HTTP API shouldn't be exposed externally as Logstash doesn't manage any authentication on this API. Also as Logstash doesn't support clustering, being able to access this API via a service doesn't make sense. + +### Default value changes + +```diff +diff --git a/logstash/values.yaml b/logstash/values.yaml +index 6c5a076b..2470c794 100755 +--- a/logstash/values.yaml ++++ b/logstash/values.yaml +@@ -32,7 +32,7 @@ extraEnvs: [] + secretMounts: [] + + image: "docker.elastic.co/logstash/logstash" +-imageTag: "7.4.0" ++imageTag: "7.4.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -51,22 +51,6 @@ resources: + cpu: "1000m" + memory: "2Gi" + +-initResources: {} +- # limits: +- # cpu: "25m" +- # # memory: "128Mi" +- # requests: +- # cpu: "25m" +- # memory: "128Mi" +- +-sidecarResources: {} +- # limits: +- # cpu: "25m" +- # # memory: "128Mi" +- # requests: +- # cpu: "25m" +- # memory: "128Mi" +- + volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] + resources: +@@ -96,7 +80,7 @@ podSecurityPolicy: + - persistentVolumeClaim + + persistence: +- enabled: true ++ enabled: false + annotations: {} + + extraVolumes: "" +@@ -108,6 +92,11 @@ extraVolumeMounts: "" + # mountPath: /usr/share/extras + # readOnly: true + ++extraContainers: "" ++ # - name: do-something ++ # image: busybox ++ # command: ['do', 'something'] ++ + extraInitContainers: "" + # - name: do-something + # image: busybox +@@ -133,15 +122,8 @@ nodeAffinity: {} + # the same time when bootstrapping the cluster + podManagementPolicy: "Parallel" + +-protocol: http + httpPort: 9600 + +-service: +- type: ClusterIP +- port: 9600 +- nodePort: +- annotations: {} +- + updateStrategy: RollingUpdate + + # This is the max unavailable setting for the pod disruption budget +@@ -168,7 +150,7 @@ livenessProbe: + httpGet: + path: / + port: http +- initialDelaySeconds: 30 ++ initialDelaySeconds: 60 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 +@@ -178,7 +160,7 @@ readinessProbe: + httpGet: + path: / + port: http +- initialDelaySeconds: 30 ++ initialDelaySeconds: 60 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 +@@ -192,21 +174,6 @@ schedulerName: "" + nodeSelector: {} + tolerations: [] + +-# Enabling this will publically expose your Logstash instance. +-# Only enable this if you have security enabled on your cluster +-ingress: +- enabled: false +- annotations: {} +- # kubernetes.io/ingress.class: nginx +- # kubernetes.io/tls-acme: "true" +- path: / +- hosts: +- - chart-example.local +- tls: [] +- # - secretName: chart-example-tls +- # hosts: +- # - chart-example.local +- + nameOverride: "" + fullnameOverride: "" + +@@ -217,3 +184,16 @@ lifecycle: {} + # postStart: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] ++ ++service: {} ++# annotations: {} ++# type: ClusterIP ++# ports: ++# - name: beats ++# port: 5044 ++# protocol: TCP ++# targetPort: 5044 ++# - name: http ++# port: 8080 ++# protocol: TCP ++# targetPort: 8080 +``` + +## 7.4.0 + +**Release date:** 2019-10-15 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [logstash] first version of logstash helm chart + +### Default value changes + +```diff +--- +replicas: 1 + +# Allows you to add any config files in /usr/share/logstash/config/ +# such as logstash.yml and log4j2.properties +logstashConfig: {} +# logstash.yml: | +# key: +# nestedkey: value +# log4j2.properties: | +# key = value + +# Allows you to add any pipeline files in /usr/share/logstash/pipeline/ +logstashPipeline: {} +# uptime.conf: | +# input { +# exec { +# command => "uptime" +# interval => 30 +# } +# } +# output { stdout { } } + +# Extra environment variables to append to this nodeGroup +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: [] +# - name: MY_ENVIRONMENT_VAR +# value: the_value_goes_here + +# A list of secrets and their paths to mount inside the pod +secretMounts: [] + +image: "docker.elastic.co/logstash/logstash" +imageTag: "7.4.0" +imagePullPolicy: "IfNotPresent" +imagePullSecrets: [] + +podAnnotations: {} + +# additionals labels +labels: {} + +logstashJavaOpts: "-Xmx1g -Xms1g" + +resources: + requests: + cpu: "100m" + memory: "2Gi" + limits: + cpu: "1000m" + memory: "2Gi" + +initResources: {} + # limits: + # cpu: "25m" + # # memory: "128Mi" + # requests: + # cpu: "25m" + # memory: "128Mi" + +sidecarResources: {} + # limits: + # cpu: "25m" + # # memory: "128Mi" + # requests: + # cpu: "25m" + # memory: "128Mi" + +volumeClaimTemplate: + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 1Gi + +rbac: + create: false + serviceAccountName: "" + +podSecurityPolicy: + create: false + name: "" + spec: + privileged: true + fsGroup: + rule: RunAsAny + runAsUser: + rule: RunAsAny + seLinux: + rule: RunAsAny + supplementalGroups: + rule: RunAsAny + volumes: + - secret + - configMap + - persistentVolumeClaim + +persistence: + enabled: true + annotations: {} + +extraVolumes: "" + # - name: extras + # emptyDir: {} + +extraVolumeMounts: "" + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +extraInitContainers: "" + # - name: do-something + # image: busybox + # command: ['do', 'something'] + +# This is the PriorityClass settings as defined in +# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass +priorityClassName: "" + +# By default this will make sure two pods don't end up on the same node +# Changing this to a region would allow you to spread pods across regions +antiAffinityTopologyKey: "kubernetes.io/hostname" + +# Hard means that by default pods will only be scheduled if there are enough nodes for them +# and that they will never end up on the same node. Setting this to soft will do this "best effort" +antiAffinity: "hard" + +# This is the node affinity settings as defined in +# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature +nodeAffinity: {} + +# The default is to deploy all pods serially. By setting this to parallel all pods are started at +# the same time when bootstrapping the cluster +podManagementPolicy: "Parallel" + +protocol: http +httpPort: 9600 + +service: + type: ClusterIP + port: 9600 + nodePort: + annotations: {} + +updateStrategy: RollingUpdate + +# This is the max unavailable setting for the pod disruption budget +# The default value of 1 will make sure that kubernetes won't allow more than 1 +# of your pods to be unavailable during maintenance +maxUnavailable: 1 + +podSecurityContext: + fsGroup: 1000 + runAsUser: 1000 + +securityContext: + capabilities: + drop: + - ALL + # readOnlyRootFilesystem: true + runAsNonRoot: true + runAsUser: 1000 + +# How long to wait for logstash to stop gracefully +terminationGracePeriod: 120 + +livenessProbe: + httpGet: + path: / + port: http + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 + successThreshold: 1 + +readinessProbe: + httpGet: + path: / + port: http + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 + successThreshold: 3 + +## Use an alternate scheduler. +## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ +## +schedulerName: "" + +nodeSelector: {} +tolerations: [] + +# Enabling this will publically expose your Logstash instance. +# Only enable this if you have security enabled on your cluster +ingress: + enabled: false + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: / + hosts: + - chart-example.local + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +nameOverride: "" +fullnameOverride: "" + +lifecycle: {} + # preStop: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] + # postStart: + # exec: + # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"] +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/examples/metricbeat.md b/examples/metricbeat.md new file mode 100644 index 0000000..db18a9c --- /dev/null +++ b/examples/metricbeat.md @@ -0,0 +1,1493 @@ +# Change Log + +## Next Release + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [elasticsearch][kibana] remove oss examples (#1046) +* [metricbeat] Fixing the respository of kube-state-metrics for metricbeats (#1039) +* [meta] add build status and artifact hub badges (#1033) +* [meta] fix transient errors with stable repository (#1018) +* [filebeat][metricbeat] Update documentation on port collisions for multiple beats agents with hostNetworking enabled. (#997) +* [all] add hostaliases (#970) +* [meta] enable metricbeat upgrade test (#940) +* [meta] stabilize CI tests (#935) +* [meta] remove support for k8s <1.14 & helm <2.17.0 (#916) +* [meta] upgrade test (#907) +* Helm 3 (#516) +* [meta] increase helm timeout (#891) +* [meta] update rbac.authorization.k8s.io api (#890) +* Add warning comment placeholder (main branch) (#886) +* [metricbeat] use relocated stable repo for kube-state-metrics (#882) +* Update warning on charts readme (#863) +* [Metricbeat] Dont generate config if not enabled (#767) +* [metricbeat] support deployment/daemonset specific metrics (#820) +* [meta] update changelog for 7.9.2 release (#824) +* [metricbeat] Support secrets (#778) +* [metricbeat] Add missing labels for deployment (#770) +* [meta] Update changelog for 6.8.12 / 7.9.0 releases (#789) +* [meta] add helm 3 beta support (#759) +* [meta] update changelog for 7.8.1 and 6.8.11 releases (#755) +* [doc] fix some links (#737) +* Make kube-state-metrics optional for installation (#387) +* Metricbeat daemonset deployment optional (#716) +* feat(metricbeat): annotation support for daemonset and deployment (#713) + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index ad670fdb..02f03d74 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -1,7 +1,13 @@ + --- + + daemonset: ++ # Annotations to apply to the daemonset ++ annotations: {} ++ # additionals labels ++ labels: {} + affinity: {} ++ # Include the daemonset ++ enabled: true + # Extra environment variables for Metricbeat container. + envFrom: [] + # - configMapRef: +@@ -16,6 +22,11 @@ daemonset: + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true ++ hostAliases: [] ++ #- ip: "127.0.0.1" ++ # hostnames: ++ # - "foo.local" ++ # - "bar.local" + hostNetworking: false + # Allows you to add any config files in /usr/share/metricbeat + # such as metricbeat.yml for daemonset +@@ -91,7 +102,13 @@ daemonset: + tolerations: [] + + deployment: ++ # Annotations to apply to the deployment ++ annotations: {} ++ # additionals labels ++ labels: {} + affinity: {} ++ # Include the deployment ++ enabled: true + # Extra environment variables for Metricbeat container. + envFrom: [] + # - configMapRef: +@@ -108,6 +125,11 @@ deployment: + # mountPath: /usr/share/extras + # readOnly: true + # such as metricbeat.yml for deployment ++ hostAliases: [] ++ #- ip: "127.0.0.1" ++ # hostnames: ++ # - "foo.local" ++ # - "bar.local" + metricbeatConfig: + metricbeat.yml: | + metricbeat.modules: +@@ -189,9 +211,6 @@ readinessProbe: + periodSeconds: 10 + timeoutSeconds: 5 + +-# additionals labels +-labels: {} +- + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + +@@ -242,6 +261,27 @@ updateStrategy: RollingUpdate + nameOverride: "" + fullnameOverride: "" + ++kube_state_metrics: ++ enabled: true ++ # host is used only when kube_state_metrics.enabled: false ++ host: "" ++ ++# Add sensitive data to k8s secrets ++secrets: [] ++# - name: "env" ++# value: ++# ELASTICSEARCH_PASSWORD: "LS1CRUdJTiBgUFJJVkFURSB" ++# api_key: ui2CsdUadTiBasRJRkl9tvNnw ++# - name: "tls" ++# value: ++# ca.crt: | ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# LS0tLS1CRUdJT0K ++# cert.crt: "LS0tLS1CRUdJTiBlRJRklDQVRFLS0tLS0K" ++# cert.key.filepath: "secrets.crt" # The path to file should be relative to the `values.yaml` file. ++ + # DEPRECATED + affinity: {} + envFrom: [] +@@ -256,3 +296,4 @@ podSecurityContext: {} + resources: {} + secretMounts: [] + tolerations: [] ++labels: {} +``` + +## 8.0.0-SNAPSHOT + +**Release date:** 2020-06-29 + +![AppVersion: 8.0.0-SNAPSHOT](https://img.shields.io/static/v1?label=AppVersion&message=8.0.0-SNAPSHOT&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Bump master branch to 8.0.0-SNAPSHOT (#682) +* Add ServiceAccount annotations (#686) + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 59b03239..ad670fdb 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -159,7 +159,7 @@ extraInitContainers: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.7.1" ++imageTag: "8.0.0-SNAPSHOT" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -224,6 +224,10 @@ podAnnotations: {} + # Custom service account override that the pod will use + serviceAccount: "" + ++# Annotations to add to the ServiceAccount that is created if the serviceAccount value isn't set. ++serviceAccountAnnotations: {} ++ # eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount ++ + # How long to wait for metricbeat pods to stop gracefully + terminationGracePeriod: 30 + +``` + +## 7.7.1 + +**Release date:** 2020-06-03 + +![AppVersion: 7.7.1](https://img.shields.io/static/v1?label=AppVersion&message=7.7.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Update changelog for 7.7.1 and 6.8.10 releases (#652) +* [metricbeat] use deprecated kube-state-metrics config when existing (#624) +* Fix configchecksum not being set (#634) +* [metricbeat] fix deployment upgrade by removing chart label from .spec.selector.matchLabels (#622) + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index d89a947d..59b03239 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -159,7 +159,7 @@ extraInitContainers: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.7.0" ++imageTag: "7.7.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.7.0 + +**Release date:** 2020-05-13 + +![AppVersion: 7.7.0](https://img.shields.io/static/v1?label=AppVersion&message=7.7.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [meta] 7.70 pre-release (#612) +* FAQ and examples improvements (#598) +* [meta] add toc to markdown files +* [meta] move breaking changes into dedicated file and update readme +* [meta] centralize development and testing doc in CONTRIBUTING.md +* [metricbeat] update default values +* [metricbeat] format README +* [metricbeat] add host networking option +* [metricbeat] nit - add missing trailing lines +* [metricbeat] remove unneeded if statement for envFrom +* [metricbeat] split secretMounts for daemonset and deployment +* [metricbeat] split volumes and volumeMounts for daemonset and deployment +* [metricbeat] split envFrom for daemonset and deployment +* metricbeat] split extraEnvs for daemonset and deployment +* [metricbeat] nit - fix default values in README +* [metricbeat] split security context for daemonset and deployment +* [metricbeat] nit +* [metricbeat] split tolerations for daemonset and deployment +* [metricbeat] split nodeSelector for daemonset and deployment +* [metricbeat] split resources for daemonset and deployment +* [metricbeat] split affinity for daemonset and deployment +* [metricbeat] use markdown implicit link name for config table +* [metricbeat] split configmap for daemonset and deployment +* fixup! [metricbeat] remove unused /var/lib/docker/container mount +* [metricbeat] add replicasets.apps to clusterRoleRules +* [metricbeat] remove unused /var/lib/docker/container mount +* fixup! [metricbeat] update clusterRoleRules with recommended values +* [metricbeat] update clusterRoleRules with recommended values +* [metricbeat] remove in_cluster config from add_kubernetes_metadata +* Add nodes/stats clusterRoleRules +* Replace HOSTNAME with NODE_NAME to access host without hostNetwork +* Merge remote-tracking branch 'upstream/master' into patch-2 + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 141b02c3..d89a947d 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -1,67 +1,148 @@ + --- +-# Allows you to add any config files in /usr/share/metricbeat +-# such as metricbeat.yml +-metricbeatConfig: +- metricbeat.yml: | +- metricbeat.modules: +- - module: kubernetes +- metricsets: +- - container +- - node +- - pod +- - system +- - volume +- period: 10s +- host: "${NODE_NAME}" +- hosts: ["${NODE_NAME}:10255"] +- processors: +- - add_kubernetes_metadata: +- in_cluster: true +- - module: kubernetes +- enabled: true +- metricsets: +- - event +- - module: system +- period: 10s +- metricsets: +- - cpu +- - load +- - memory +- - network +- - process +- - process_summary +- processes: ['.*'] +- process.include_top_n: +- by_cpu: 5 +- by_memory: 5 +- - module: system +- period: 1m +- metricsets: +- - filesystem +- - fsstat +- processors: +- - drop_event.when.regexp: +- system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)' +- output.elasticsearch: +- hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' +- +- kube-state-metrics-metricbeat.yml: | +- metricbeat.modules: +- - module: kubernetes +- enabled: true +- metricsets: +- - state_node +- - state_deployment +- - state_replicaset +- - state_pod +- - state_container +- period: 10s +- hosts: ["${KUBE_STATE_METRICS_HOSTS}"] +- output.elasticsearch: +- hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + +-# Replicas being used for the kube-state-metrics metricbeat deployment ++daemonset: ++ affinity: {} ++ # Extra environment variables for Metricbeat container. ++ envFrom: [] ++ # - configMapRef: ++ # name: config-secret ++ extraEnvs: [] ++ # - name: MY_ENVIRONMENT_VAR ++ # value: the_value_goes_here ++ extraVolumes: [] ++ # - name: extras ++ # emptyDir: {} ++ extraVolumeMounts: [] ++ # - name: extras ++ # mountPath: /usr/share/extras ++ # readOnly: true ++ hostNetworking: false ++ # Allows you to add any config files in /usr/share/metricbeat ++ # such as metricbeat.yml for daemonset ++ metricbeatConfig: ++ metricbeat.yml: | ++ metricbeat.modules: ++ - module: kubernetes ++ metricsets: ++ - container ++ - node ++ - pod ++ - system ++ - volume ++ period: 10s ++ host: "${NODE_NAME}" ++ hosts: ["https://${NODE_NAME}:10250"] ++ bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token ++ ssl.verification_mode: "none" ++ # If using Red Hat OpenShift remove ssl.verification_mode entry and ++ # uncomment these settings: ++ #ssl.certificate_authorities: ++ #- /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt ++ processors: ++ - add_kubernetes_metadata: ~ ++ - module: kubernetes ++ enabled: true ++ metricsets: ++ - event ++ - module: system ++ period: 10s ++ metricsets: ++ - cpu ++ - load ++ - memory ++ - network ++ - process ++ - process_summary ++ processes: ['.*'] ++ process.include_top_n: ++ by_cpu: 5 ++ by_memory: 5 ++ - module: system ++ period: 1m ++ metricsets: ++ - filesystem ++ - fsstat ++ processors: ++ - drop_event.when.regexp: ++ system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)' ++ output.elasticsearch: ++ hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' ++ nodeSelector: {} ++ # A list of secrets and their paths to mount inside the pod ++ # This is useful for mounting certificates for security other sensitive values ++ secretMounts: [] ++ # - name: metricbeat-certificates ++ # secretName: metricbeat-certificates ++ # path: /usr/share/metricbeat/certs ++ # Various pod security context settings. Bear in mind that many of these have an impact on metricbeat functioning properly. ++ # - Filesystem group for the metricbeat user. The official elastic docker images always have an id of 1000. ++ # - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. ++ # - Whether to execute the metricbeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. ++ securityContext: ++ runAsUser: 0 ++ privileged: false ++ resources: ++ requests: ++ cpu: "100m" ++ memory: "100Mi" ++ limits: ++ cpu: "1000m" ++ memory: "200Mi" ++ tolerations: [] ++ ++deployment: ++ affinity: {} ++ # Extra environment variables for Metricbeat container. ++ envFrom: [] ++ # - configMapRef: ++ # name: config-secret ++ extraEnvs: [] ++ # - name: MY_ENVIRONMENT_VAR ++ # value: the_value_goes_here ++ # Allows you to add any config files in /usr/share/metricbeat ++ extraVolumes: [] ++ # - name: extras ++ # emptyDir: {} ++ extraVolumeMounts: [] ++ # - name: extras ++ # mountPath: /usr/share/extras ++ # readOnly: true ++ # such as metricbeat.yml for deployment ++ metricbeatConfig: ++ metricbeat.yml: | ++ metricbeat.modules: ++ - module: kubernetes ++ enabled: true ++ metricsets: ++ - state_node ++ - state_deployment ++ - state_replicaset ++ - state_pod ++ - state_container ++ period: 10s ++ hosts: ["${KUBE_STATE_METRICS_HOSTS}"] ++ output.elasticsearch: ++ hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' ++ nodeSelector: {} ++ # A list of secrets and their paths to mount inside the pod ++ # This is useful for mounting certificates for security other sensitive values ++ secretMounts: [] ++ # - name: metricbeat-certificates ++ # secretName: metricbeat-certificates ++ # path: /usr/share/metricbeat/certs ++ securityContext: ++ runAsUser: 0 ++ privileged: false ++ resources: ++ requests: ++ cpu: "100m" ++ memory: "100Mi" ++ limits: ++ cpu: "1000m" ++ memory: "200Mi" ++ tolerations: [] + ++# Replicas being used for the kube-state-metrics metricbeat deployment + replicas: 1 + + extraContainers: "" +@@ -74,31 +155,11 @@ extraInitContainers: "" + # image: busybox + # command: ['echo', 'hey'] + +-# Extra environment variables to append to the DaemonSet pod spec. +-# This will be appended to the current 'env:' key. You can use any of the kubernetes env +-# syntax here +-extraEnvs: [] +-# - name: MY_ENVIRONMENT_VAR +-# value: the_value_goes_here +- +-extraVolumeMounts: [] +- # - name: extras +- # mountPath: /usr/share/extras +- # readOnly: true +- +-extraVolumes: [] +- # - name: extras +- # emptyDir: {} +- +-envFrom: [] +- # - configMapRef: +- # name: config-secret +- + # Root directory where metricbeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.6.2" ++imageTag: "7.7.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -135,61 +196,37 @@ labels: {} + managedServiceAccount: true + + clusterRoleRules: +- - apiGroups: +- - "extensions" +- - "apps" +- - "" +- resources: +- - namespaces +- - pods +- - events +- - deployments +- - nodes +- - replicasets +- verbs: +- - get +- - list +- - watch ++- apiGroups: [""] ++ resources: ++ - nodes ++ - namespaces ++ - events ++ - pods ++ verbs: ["get", "list", "watch"] ++- apiGroups: ["extensions"] ++ resources: ++ - replicasets ++ verbs: ["get", "list", "watch"] ++- apiGroups: ["apps"] ++ resources: ++ - statefulsets ++ - deployments ++ - replicasets ++ verbs: ["get", "list", "watch"] ++- apiGroups: [""] ++ resources: ++ - nodes/stats ++ verbs: ["get"] + + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +-# Various pod security context settings. Bear in mind that many of these have an impact on metricbeat functioning properly. +-# +-# - Filesystem group for the metricbeat user. The official elastic docker images always have an id of 1000. +-# - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. +-# - Whether to execute the metricbeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. +-podSecurityContext: +- runAsUser: 0 +- privileged: false +- +-resources: +- requests: +- cpu: "100m" +- memory: "100Mi" +- limits: +- cpu: "1000m" +- memory: "200Mi" +- + # Custom service account override that the pod will use + serviceAccount: "" + +-# A list of secrets and their paths to mount inside the pod +-# This is useful for mounting certificates for security other sensitive values +-secretMounts: [] +-# - name: metricbeat-certificates +-# secretName: metricbeat-certificates +-# path: /usr/share/metricbeat/certs +- + # How long to wait for metricbeat pods to stop gracefully + terminationGracePeriod: 30 + +-tolerations: [] +- +-nodeSelector: {} +- +-affinity: {} +- + # This is the PriorityClass settings as defined in + # https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass + priorityClassName: "" +@@ -200,3 +237,18 @@ updateStrategy: RollingUpdate + # Only edit these if you know what you're doing + nameOverride: "" + fullnameOverride: "" ++ ++# DEPRECATED ++affinity: {} ++envFrom: [] ++extraEnvs: [] ++extraVolumes: [] ++extraVolumeMounts: [] ++# Allows you to add any config files in /usr/share/metricbeat ++# such as metricbeat.yml for both daemonset and deployment ++metricbeatConfig: {} ++nodeSelector: {} ++podSecurityContext: {} ++resources: {} ++secretMounts: [] ++tolerations: [] +``` + +## 7.6.2 + +**Release date:** 2020-03-31 + +![AppVersion: 7.6.2](https://img.shields.io/static/v1?label=AppVersion&message=7.6.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.2] bump version + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 53032198..141b02c3 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -98,7 +98,7 @@ envFrom: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.6.1" ++imageTag: "7.6.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.1 + +**Release date:** 2020-03-04 + +![AppVersion: 7.6.1](https://img.shields.io/static/v1?label=AppVersion&message=7.6.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.1] bump version + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 3ea4af31..53032198 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -98,7 +98,7 @@ envFrom: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.6.0" ++imageTag: "7.6.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.6.0 + +**Release date:** 2020-02-11 + +![AppVersion: 7.6.0](https://img.shields.io/static/v1?label=AppVersion&message=7.6.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.6.0] bump version +* [meta] format with black python scripts +* [metricbeat] add extra init containers +* [metricbeat] add extracontainers +* Update values.yaml +* Update values.yaml +* Make use of secure port when accessing Kubelet API + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 4e34369e..3ea4af31 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -64,6 +64,16 @@ metricbeatConfig: + + replicas: 1 + ++extraContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ ++extraInitContainers: "" ++# - name: dummy-init ++# image: busybox ++# command: ['echo', 'hey'] ++ + # Extra environment variables to append to the DaemonSet pod spec. + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -88,7 +98,7 @@ envFrom: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.5.2" ++imageTag: "7.6.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.2 + +**Release date:** 2020-01-21 + +![AppVersion: 7.5.2](https://img.shields.io/static/v1?label=AppVersion&message=7.5.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.2] bump versions +* added priorityClassName in metrics deployment +* Merge branch 'master' into master +* [metricbeat] typo +* [doc] switch relative URLs to absolute URLs +* [metricbeat] add test for priorityClassName +* [metricbeat] add doc for priorityClassName +* [metricbeat] Add priorityClassName config +* Merge pull request #425 from pbecotte/424 +* update hostfs to be a CLI option instead of a config option +* Merge pull request #420 from jmlrt/override-probe +* forgot end block. doh +* [metricbeat] allow override readiness and liveness probes commands +* Merge branch 'master' into add-support-for-envfrom + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 4e8b501f..4e34369e 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -3,8 +3,6 @@ + # such as metricbeat.yml + metricbeatConfig: + metricbeat.yml: | +- system: +- hostfs: /hostfs + metricbeat.modules: + - module: kubernetes + metricsets: +@@ -82,21 +80,39 @@ extraVolumes: [] + # - name: extras + # emptyDir: {} + ++envFrom: [] ++ # - configMapRef: ++ # name: config-secret ++ + # Root directory where metricbeat will write data to in order to persist registry data across pod restarts (file position and other metadata). + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.5.1" ++imageTag: "7.5.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + + livenessProbe: ++ exec: ++ command: ++ - sh ++ - -c ++ - | ++ #!/usr/bin/env bash -e ++ curl --fail 127.0.0.1:5066 + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + + readinessProbe: ++ exec: ++ command: ++ - sh ++ - -c ++ - | ++ #!/usr/bin/env bash -e ++ metricbeat test output + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 +@@ -164,6 +180,10 @@ nodeSelector: {} + + affinity: {} + ++# This is the PriorityClass settings as defined in ++# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass ++priorityClassName: "" ++ + updateStrategy: RollingUpdate + + # Override various naming aspects of this chart +``` + +## 7.5.1 + +**Release date:** 2019-12-19 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* Merge pull request #415 from jmlrt/add-custom-labels-to-pods + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 47087591..4e8b501f 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -86,7 +86,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.0 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [metricbeat] apply labels to all pods + +### Default value changes + +```diff +# No changes in this release +``` + +## 7.5.1 + +**Release date:** 2019-12-18 + +![AppVersion: 7.5.1](https://img.shields.io/static/v1?label=AppVersion&message=7.5.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.1] bump versions +* Prefixed helper functions with chart name +* [helm] make more explicit that helm 3 is not supported +* [metricbeat] add notice about breaking change + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 47087591..4e8b501f 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -86,7 +86,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.5.0" ++imageTag: "7.5.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.5.0 + +**Release date:** 2019-12-02 + +![AppVersion: 7.5.0](https://img.shields.io/static/v1?label=AppVersion&message=7.5.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* [7.5.0] release +* bump elastic stack versions to 6.8.5 and 7.4.2 +* Merge branch 'master' into add-support-for-envfrom +* Merge pull request #314 from pbecotte/ExtraMounts +* Merge branch 'master' into issue_267 +* Merge pull request #352 from masterkain/master +* change ordering +* readme tweak +* tweaks to name and test +* tests +* update README +* added support for envFrom +* update install doc +* bump metricbeat to latest chart and app version +* [metricbeat] fix beats icon +* [helm] add some notice about tested helm version + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index fea0deaf..47087591 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -73,12 +73,12 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +-extraVolumeMounts: "" ++extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraVolumes: "" ++extraVolumes: [] + # - name: extras + # emptyDir: {} + +@@ -86,7 +86,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.4.1" ++imageTag: "7.5.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.4.1 + +**Release date:** 2019-10-22 + +![AppVersion: 7.4.1](https://img.shields.io/static/v1?label=AppVersion&message=7.4.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + + +* 7.4.1 release +* Merge pull request #338 from jmlrt/helm-2-15 +* [helm] add chart api version This is required witrh Helm 2.15.0 following https://github.com/helm/helm/pull/6180 +* [metricbeat] add pod labels + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 321c85d4..fea0deaf 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -86,7 +86,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.4.0" ++imageTag: "7.4.1" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -102,6 +102,9 @@ readinessProbe: + periodSeconds: 10 + timeoutSeconds: 5 + ++# additionals labels ++labels: {} ++ + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + +``` + +## 7.4.0 + +**Release date:** 2019-10-15 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* [Issue #267] Support fullnameOverride in kibana, filebeat, metricbeat charts + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 5c852497..321c85d4 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -86,7 +86,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.3.2" ++imageTag: "7.4.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -105,6 +105,23 @@ readinessProbe: + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + ++clusterRoleRules: ++ - apiGroups: ++ - "extensions" ++ - "apps" ++ - "" ++ resources: ++ - namespaces ++ - pods ++ - events ++ - deployments ++ - nodes ++ - replicasets ++ verbs: ++ - get ++ - list ++ - watch ++ + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +``` + +## 7.3.2 + +**Release date:** 2019-10-04 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Had to add a couple extra mounts to get MetricBeat to pick up all the metrics from the host nodes on Digital Ocean. In the process, noticed that the extraMount setting is configured different then the rest- changed it to be consistent + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 5c852497..77fea733 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -73,12 +73,12 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +-extraVolumeMounts: "" ++extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraVolumes: "" ++extraVolumes: [] + # - name: extras + # emptyDir: {} + +``` + +## 7.4.0 + +**Release date:** 2019-10-01 + +![AppVersion: 7.4.0](https://img.shields.io/static/v1?label=AppVersion&message=7.4.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.4.0 Release +* [metricbeat] Make cluster role rules configurable +* [metricbeat] change min k8s version due to used apiVersions + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 5c852497..321c85d4 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -86,7 +86,7 @@ extraVolumes: "" + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.3.2" ++imageTag: "7.4.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -105,6 +105,23 @@ readinessProbe: + # Whether this chart should self-manage its service account, role, and associated role binding. + managedServiceAccount: true + ++clusterRoleRules: ++ - apiGroups: ++ - "extensions" ++ - "apps" ++ - "" ++ resources: ++ - namespaces ++ - pods ++ - events ++ - deployments ++ - nodes ++ - replicasets ++ verbs: ++ - get ++ - list ++ - watch ++ + podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +``` + +## 7.3.2 + +**Release date:** 2019-09-19 + +![AppVersion: 7.3.2](https://img.shields.io/static/v1?label=AppVersion&message=7.3.2&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.2 Release +* Merge pull request #254 from Azuka/feature/metrics-cluster-role-events +* Merge branch 'master' into feature/metrics-cluster-role-events +* [metricbeat] Remove default kube static metrics host to avoid confusion +* Fix octal literal to work in both Python 2 and Python 3 +* [metricbeat] Enable events access to cluster role +* [metricbeat] Fix default configuration for kubernetes module +* [filebeat][metricbeat] Add configurable nodeSelector and affinit… (#243) +* [filebeat][metricbeat] Add configurable nodeSelector and affinity spec +* Update documentation and defaults for tmpl values + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 29996d3f..5c852497 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -14,7 +14,8 @@ metricbeatConfig: + - system + - volume + period: 10s +- hosts: ["localhost:10255"] ++ host: "${NODE_NAME}" ++ hosts: ["${NODE_NAME}:10255"] + processors: + - add_kubernetes_metadata: + in_cluster: true +@@ -57,7 +58,7 @@ metricbeatConfig: + - state_pod + - state_container + period: 10s +- hosts: ["${KUBE_STATE_METRICS_HOSTS:kube-state-metrics:8080}"] ++ hosts: ["${KUBE_STATE_METRICS_HOSTS}"] + output.elasticsearch: + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + +@@ -72,12 +73,12 @@ extraEnvs: [] + # - name: MY_ENVIRONMENT_VAR + # value: the_value_goes_here + +-extraVolumeMounts: [] ++extraVolumeMounts: "" + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +-extraVolumes: [] ++extraVolumes: "" + # - name: extras + # emptyDir: {} + +@@ -85,7 +86,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.3.0" ++imageTag: "7.3.2" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +@@ -139,6 +140,10 @@ terminationGracePeriod: 30 + + tolerations: [] + ++nodeSelector: {} ++ ++affinity: {} ++ + updateStrategy: RollingUpdate + + # Override various naming aspects of this chart +``` + +## 7.3.0 + +**Release date:** 2019-07-31 + +![AppVersion: 7.3.0](https://img.shields.io/static/v1?label=AppVersion&message=7.3.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.3.0 Release + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 7cae07ef..29996d3f 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -85,7 +85,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.2.0" ++imageTag: "7.3.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.2.1-0 + +**Release date:** 2019-07-17 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* 7.2.1-0 Release +* Remove data mount from the kube-state-metrics metricbeat +* Update file pattern to include all goss tests +* Update readme and backport fixes from filebeat chart + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 2d9e85a8..7cae07ef 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -113,7 +113,6 @@ podAnnotations: {} + # - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. + # - Whether to execute the metricbeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. + podSecurityContext: +- fsGroup: 1000 + runAsUser: 0 + privileged: false + +``` + +## 7.2.0 + +**Release date:** 2019-07-01 + +![AppVersion: 7.2.0](https://img.shields.io/static/v1?label=AppVersion&message=7.2.0&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* Rebase on master and bump to latest version +* Add security example +* Add oss example +* Add 6.x example +* Add tests to make sure that data is flowing in +* Update goss testing to support testing multiple containers +* Fix up linting and tests +* Update description and beta disclaimer +* Copy in all of the missing fields from the daemonset + +### Default value changes + +```diff +diff --git a/metricbeat/values.yaml b/metricbeat/values.yaml +index 145821bc..2d9e85a8 100755 +--- a/metricbeat/values.yaml ++++ b/metricbeat/values.yaml +@@ -46,8 +46,7 @@ metricbeatConfig: + output.elasticsearch: + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + +-metricbeatKubeStateMetricsConfig: +- metricbeat.yml: | ++ kube-state-metrics-metricbeat.yml: | + metricbeat.modules: + - module: kubernetes + enabled: true +@@ -62,6 +61,10 @@ metricbeatKubeStateMetricsConfig: + output.elasticsearch: + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + ++# Replicas being used for the kube-state-metrics metricbeat deployment ++ ++replicas: 1 ++ + # Extra environment variables to append to the DaemonSet pod spec. + # This will be appended to the current 'env:' key. You can use any of the kubernetes env + # syntax here +@@ -82,7 +85,7 @@ extraVolumes: [] + hostPathRoot: /var/lib + + image: "docker.elastic.co/beats/metricbeat" +-imageTag: "7.0.1" ++imageTag: "7.2.0" + imagePullPolicy: "IfNotPresent" + imagePullSecrets: [] + +``` + +## 7.0.1-alpha1 + +**Release date:** 2019-05-09 + +![AppVersion: 7.0.1](https://img.shields.io/static/v1?label=AppVersion&message=7.0.1&color=success&logo=) +![Helm: v2](https://img.shields.io/static/v1?label=Helm&message=v2&color=inactive&logo=helm) + + +* WIP: Add metricbeat chart + +### Default value changes + +```diff +--- +# Allows you to add any config files in /usr/share/metricbeat +# such as metricbeat.yml +metricbeatConfig: + metricbeat.yml: | + system: + hostfs: /hostfs + metricbeat.modules: + - module: kubernetes + metricsets: + - container + - node + - pod + - system + - volume + period: 10s + hosts: ["localhost:10255"] + processors: + - add_kubernetes_metadata: + in_cluster: true + - module: kubernetes + enabled: true + metricsets: + - event + - module: system + period: 10s + metricsets: + - cpu + - load + - memory + - network + - process + - process_summary + processes: ['.*'] + process.include_top_n: + by_cpu: 5 + by_memory: 5 + - module: system + period: 1m + metricsets: + - filesystem + - fsstat + processors: + - drop_event.when.regexp: + system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)' + output.elasticsearch: + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + +metricbeatKubeStateMetricsConfig: + metricbeat.yml: | + metricbeat.modules: + - module: kubernetes + enabled: true + metricsets: + - state_node + - state_deployment + - state_replicaset + - state_pod + - state_container + period: 10s + hosts: ["${KUBE_STATE_METRICS_HOSTS:kube-state-metrics:8080}"] + output.elasticsearch: + hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}' + +# Extra environment variables to append to the DaemonSet pod spec. +# This will be appended to the current 'env:' key. You can use any of the kubernetes env +# syntax here +extraEnvs: [] +# - name: MY_ENVIRONMENT_VAR +# value: the_value_goes_here + +extraVolumeMounts: [] + # - name: extras + # mountPath: /usr/share/extras + # readOnly: true + +extraVolumes: [] + # - name: extras + # emptyDir: {} + +# Root directory where metricbeat will write data to in order to persist registry data across pod restarts (file position and other metadata). +hostPathRoot: /var/lib + +image: "docker.elastic.co/beats/metricbeat" +imageTag: "7.0.1" +imagePullPolicy: "IfNotPresent" +imagePullSecrets: [] + +livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + +# Whether this chart should self-manage its service account, role, and associated role binding. +managedServiceAccount: true + +podAnnotations: {} + # iam.amazonaws.com/role: es-cluster + +# Various pod security context settings. Bear in mind that many of these have an impact on metricbeat functioning properly. +# +# - Filesystem group for the metricbeat user. The official elastic docker images always have an id of 1000. +# - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs. +# - Whether to execute the metricbeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift. +podSecurityContext: + fsGroup: 1000 + runAsUser: 0 + privileged: false + +resources: + requests: + cpu: "100m" + memory: "100Mi" + limits: + cpu: "1000m" + memory: "200Mi" + +# Custom service account override that the pod will use +serviceAccount: "" + +# A list of secrets and their paths to mount inside the pod +# This is useful for mounting certificates for security other sensitive values +secretMounts: [] +# - name: metricbeat-certificates +# secretName: metricbeat-certificates +# path: /usr/share/metricbeat/certs + +# How long to wait for metricbeat pods to stop gracefully +terminationGracePeriod: 30 + +tolerations: [] + +updateStrategy: RollingUpdate + +# Override various naming aspects of this chart +# Only edit these if you know what you're doing +nameOverride: "" +fullnameOverride: "" +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/hack/integration-tests.sh b/hack/integration-tests.sh index cc3a6cb..88f9b5b 100755 --- a/hack/integration-tests.sh +++ b/hack/integration-tests.sh @@ -1,6 +1,7 @@ #!/bin/bash mkdir -p charts +mkdir -p examples git clone git@github.com:elastic/helm-charts.git charts/elastic || true @@ -9,3 +10,8 @@ git clone git@github.com:elastic/helm-charts.git charts/elastic || true git pull ../../bin/helm-changelog create ) + +for changelog in $(find . -name 'Changelog.md' | sed "s|./charts/elastic/||g"); do + dirName=$(dirname $changelog) + mv ./charts/elastic/$changelog examples/${dirName}.md +done