Skip to content

Commit 8f067b8

Browse files
authored
Fix Logstash Helm chart (#7958) (#7959)
1 parent b9911f1 commit 8f067b8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

deploy/eck-stack/charts/eck-logstash/templates/tests/logstash_test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,8 @@ tests:
160160
- it: should render pipelinesRef properly
161161
set:
162162
pipelinesRef:
163-
secretRef:
164-
secretName: pipelineLogstashSecretName
163+
secretName: pipelineLogstashSecretName
165164
asserts:
166165
- equal:
167-
path: spec.pipelinesRef.secretRef.secretName
166+
path: spec.pipelinesRef.secretName
168167
value: pipelineLogstashSecretName

deploy/eck-stack/charts/eck-logstash/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ count: 1
5353
config: {}
5454

5555
configRef: {}
56-
# secretRef:
56+
57+
# Reference a pipeline configuration in a Secret.
58+
# ref: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-logstash-configuration.html#k8s-logstash-pipelines
59+
#pipelinesRef:
5760
# secretName: ''
5861

5962
# Set podTemplate to customize the pod used by Logstash

0 commit comments

Comments
 (0)