diff --git a/deploy/eck-stack/charts/eck-logstash/templates/tests/logstash_test.yaml b/deploy/eck-stack/charts/eck-logstash/templates/tests/logstash_test.yaml index b9227c15cd..62900404a5 100644 --- a/deploy/eck-stack/charts/eck-logstash/templates/tests/logstash_test.yaml +++ b/deploy/eck-stack/charts/eck-logstash/templates/tests/logstash_test.yaml @@ -160,9 +160,8 @@ tests: - it: should render pipelinesRef properly set: pipelinesRef: - secretRef: - secretName: pipelineLogstashSecretName + secretName: pipelineLogstashSecretName asserts: - equal: - path: spec.pipelinesRef.secretRef.secretName + path: spec.pipelinesRef.secretName value: pipelineLogstashSecretName diff --git a/deploy/eck-stack/charts/eck-logstash/values.yaml b/deploy/eck-stack/charts/eck-logstash/values.yaml index 30b143f186..a2d1d289af 100644 --- a/deploy/eck-stack/charts/eck-logstash/values.yaml +++ b/deploy/eck-stack/charts/eck-logstash/values.yaml @@ -53,7 +53,10 @@ count: 1 config: {} configRef: {} -# secretRef: + +# Reference a pipeline configuration in a Secret. +# ref: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-logstash-configuration.html#k8s-logstash-pipelines +#pipelinesRef: # secretName: '' # Set podTemplate to customize the pod used by Logstash