Skip to content

Commit

Permalink
fix: support filebeat deployment
Browse files Browse the repository at this point in the history
elastic/helm-charts#964 introduced the feature of
deploying a Kubernetes deployment instead of a Daemonset using Filebeat,
using a values.yaml syntax equivalent to Metricbeat
  • Loading branch information
mdelapenya committed Mar 11, 2021
1 parent 6426f75 commit d443ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/_suites/helm/helm_charts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (ts *HelmChartTestSuite) getResourceName(resource string) string {
} else if resource == k8s.ResourceTypes.ClusterRoleBinding {
return strings.ToLower(ts.Name + "-" + ts.Name + "-cluster-role-binding")
} else if resource == k8s.ResourceTypes.ConfigMap {
if ts.Name == "metricbeat" {
if ts.Name == "filebeat" || ts.Name == "metricbeat" {
return strings.ToLower(ts.Name + "-" + ts.Name + "-daemonset-config")
}
return strings.ToLower(ts.Name + "-" + ts.Name + "-config")
Expand Down

0 comments on commit d443ebd

Please sign in to comment.