2 # Annotations to apply to the daemonset
7 # Include the daemonset
9 # Extra environment variables for Filebeat container.
14 - name: "ELASTICSEARCH_USERNAME"
17 name: elasticsearch-master-credentials
19 - name: "ELASTICSEARCH_PASSWORD"
22 name: elasticsearch-master-credentials
24 # Allows you to add any config files in /usr/share/filebeat
30 # mountPath: /usr/share/extras
33 # Allows you to add any config files in /usr/share/filebeat
34 # such as filebeat.yml for daemonset
40 - /var/log/containers/*.log
42 - add_kubernetes_metadata:
46 logs_path: "/var/log/containers/"
50 hosts: '["https://${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}"]'
51 username: '${ELASTICSEARCH_USERNAME}'
52 password: '${ELASTICSEARCH_PASSWORD}'
54 ssl.certificate_authorities: ["/usr/share/filebeat/certs/ca.crt"]
55 # Only used when updateStrategy is set to "RollingUpdate"
58 # A list of secrets and their paths to mount inside the pod
59 # This is useful for mounting certificates for security other sensitive values
61 - name: elasticsearch-master-certs
62 secretName: elasticsearch-master-certs
63 path: /usr/share/filebeat/certs/
64 # - name: filebeat-certificates
65 # secretName: filebeat-certificates
66 # path: /usr/share/filebeat/certs
67 # Various pod security context settings. Bear in mind that many of these have an impact on Filebeat functioning properly.
69 # - User that the container will execute as. Typically necessary to run as root (0) in order to properly collect host container logs.
70 # - Whether to execute the Filebeat containers as privileged containers. Typically not necessarily unless running within environments such as OpenShift.
83 # Annotations to apply to the deployment
88 # Include the deployment
90 # Extra environment variables for Filebeat container.
95 - name: "ELASTICSEARCH_USERNAME"
98 name: elasticsearch-master-credentials
100 - name: "ELASTICSEARCH_PASSWORD"
103 name: elasticsearch-master-credentials
105 # Allows you to add any config files in /usr/share/filebeat
109 extraVolumeMounts: []
111 # mountPath: /usr/share/extras
113 # such as filebeat.yml for deployment
119 - /usr/share/filebeat/logs/filebeat
121 output.elasticsearch:
123 hosts: '["https://${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}"]'
124 username: "${ELASTICSEARCH_USERNAME}"
125 password: "${ELASTICSEARCH_PASSWORD}"
127 ssl.certificate_authorities: ["/usr/share/filebeat/certs/ca.crt"]
129 # A list of secrets and their paths to mount inside the pod
130 # This is useful for mounting certificates for security other sensitive values
132 - name: elasticsearch-master-certs
133 secretName: elasticsearch-master-certs
134 path: /usr/share/filebeat/certs/
135 # - name: filebeat-certificates
136 # secretName: filebeat-certificates
137 # path: /usr/share/filebeat/certs
139 # - User that the container will execute as.
140 # Not necessary to run as root (0) as the Filebeat Deployment use cases do not need access to Kubernetes Node internals
141 # - Typically not necessarily unless running within environments such as OpenShift.
153# Replicas being used for the filebeat deployment
158# command: ['echo', 'hey']
160extraInitContainers: []
163# Root directory where Filebeat will write data to in order to persist registry data across pod restarts (file position and other metadata).
164hostPathRoot: /var/lib
174image: chainreg.biz/chainguard-private/filebeat
175imageTag: 8.19.21-r3@sha256:fc5ac21da47f88977019d8551485aaa0b85a315f8080923a8bf1439142663761
176imagePullPolicy: "IfNotPresent"
184 #!/usr/bin/env bash -e
185 curl --fail 127.0.0.1:5066
187 initialDelaySeconds: 10
196 #!/usr/bin/env bash -e
199 initialDelaySeconds: 10
202# Whether this chart should self-manage its service account, role, and associated role binding.
203managedServiceAccount: true
224# iam.amazonaws.com/role: es-cluster
226# Custom service account override that the pod will use
228# Annotations to add to the ServiceAccount that is created if the serviceAccount value isn't set.
229serviceAccountAnnotations: {}
230# eks.amazonaws.com/role-arn: arn:aws:iam::111111111111:role/k8s.clustername.namespace.serviceaccount
232# How long to wait for Filebeat pods to stop gracefully
233terminationGracePeriod: 30
234# This is the PriorityClass settings as defined in
235# https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
237updateStrategy: RollingUpdate
238# Override various naming aspects of this chart
239# Only edit these if you know what you're doing