# Filebeat Helm chart 8.x requires \`elasticsearch-master-certs\`

**URL:** https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049
**Category:** Beats
**Tags:** filebeat
**Created:** [February 8, 2023, 6:01pm UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049 "2023-02-08T18:01:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Roman\_Kournjaev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_kournjaev/32/2552_2.png) [@Roman\_Kournjaev](https://discuss.elastic.co/u/Roman_Kournjaev)
#### Post date: [February 8, 2023, 6:01pm UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049/1 "2023-02-08T18:01:14Z")

</div>

We are using beats to ship our logs from k8s to the elastic cloud.

I would like to upgrade our beats helm chart version from 7.x to 8.x and it introduces a breaking change where i would have to create a secret with `elasticsearch-master-certs`.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9ff3cd801975528ed3e6938641b5ab1f8bf74a50.png)

> <https://github.com/elastic/helm-charts/blob/main/filebeat/values.yaml>

Is that something i absolutely have todo , or i am misunderstanding something

If yes where do i get these certificates from ?

---

<div class="post-metadata">

### Author: ![eric\_kertz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_kertz/32/76347_2.png) [@eric\_kertz](https://discuss.elastic.co/u/eric_kertz)
#### Post date: [February 17, 2023, 3:08am UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049/2 "2023-02-17T03:08:20Z")

</div>

@Roman_Kournjaev did you ever figure this out? having the same issue here.

---

<div class="post-metadata">

### Author: ![thefolenangel](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@thefolenangel](https://discuss.elastic.co/u/thefolenangel)
#### Post date: [February 21, 2023, 7:41am UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049/3 "2023-02-21T07:41:12Z")

</div>

Hi Guys,

I registered to post this, basically you can override secretMounts by declaring it empty.  
Here is an example with filebeat:

```auto
imageTag: 8.3.2
daemonset:
  # Extra environment variables for Filebeat container.
  secretMounts:
  extraEnvs:
  - name: ELASTICSEARCH_HOST
    value: elasticsearch
  - name: ELASTICSEARCH_PORT
    value: "9200"
  - name: NODE_NAME
    valueFrom:
      fieldRef:
        fieldPath: spec.nodeName
  - name: ELASTICSEARCH_USERNAME
    value: elastic
  - name: ELASTICSEARCH_PASSWORD
    value: password
  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: '["http://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]'
        username: "${ELASTICSEARCH_USERNAME}"
        password: "${ELASTICSEARCH_PASSWORD}"
        protocol: http
        ssl.verification_mode: none
        ssl.certificate_authorities: []

```

---

<div class="post-metadata">

### Author: ![eric\_kertz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_kertz/32/76347_2.png) [@eric\_kertz](https://discuss.elastic.co/u/eric_kertz)
#### Post date: [March 8, 2023, 2:15pm UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049/4 "2023-03-08T14:15:55Z")

</div>

@thefolenangel thanks for posting this! worked for me!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 5, 2023, 4:16pm UTC](https://discuss.elastic.co/t/filebeat-helm-chart-8-x-requires-elasticsearch-master-certs/325049/5 "2023-04-05T16:16:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
