-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eck-beats chart does not support kind=deployment #6330
Comments
There is no reliable way to delete a key from a parent `values.yaml. |
eck-beats |
I was able to remove the Content of the version: 8.5.3
spec:
type: filebeat
daemonSet: null
deployment:
replicas: 1
strategy:
type: Recreate Output apiVersion: beat.k8s.elastic.co/v1beta1
kind: Beat
metadata:
name: beat-example-eck-beats
labels:
helm.sh/chart: eck-beats-0.1.0
app.kubernetes.io/name: eck-beats
app.kubernetes.io/instance: beat-example
app.kubernetes.io/managed-by: Helm
annotations:
eck.k8s.elastic.co/license: enterprise
spec:
version: 8.5.3
type: filebeat
config: {}
deployment:
replicas: 1
strategy:
type: Recreate
elasticsearchRef:
name: elasticsearch
type: filebeat Output of
I might be missing something in your setup, but using |
As I included in my original description by showing In other words, there is no issue if you install directly from the upstream chart as you have done. Installing from local chart that uses the upstream chart in helm template . -f values-threatintel.yaml |
@barkbay can you let me know if you are able to reproduce and if there is a plan to correct this? We need to decide if it will be necessary to go back to forking the chart entirely. |
Hello - We have the same issue but with the eck-agent chart. I'm not sure if there is a bug but we were able to set We are using the upstream chart. Here is our setting in our values file:
This is what is rendered during
|
@barkbay can you please take another look at this? This issue prevents us from using the chart entirely and forces us to fork it from upstream. |
I'm aware of this issue, and it's due to this upstream PR(s) to actually get a fix in place that have been going on for a large amount of time: helm/helm#9138 I'll discuss this with the team and get back to this issue quickly to try and get a good fix in place for this issue. |
Bug Report
What did you do?
When using
eck-beats
as an "upstream chart", I'm unable to actually use thedeployment
type sincedaemonset: {}
is specified in the upstreamvalues.yaml
. This causesWhat did you expect to see?
Working
Deployment
ECK version:
2.5.0 / 8.5.3
I have also tried excluding
daemonSet
key entirely - again, none of that will work because there is no way to "remove" the upstreamdaemonSet
key.What's going on here is obvious from running
helm template
- bothdaemonSet
anddeployment
keys will be included in thekind: Beats
object with no way to actually remove thedaemonSet
key.The text was updated successfully, but these errors were encountered: