Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Logstash is using a statefulset and not a daemonset
Browse files Browse the repository at this point in the history
  • Loading branch information
morganchristiansson committed Jan 24, 2020
1 parent 948fc29 commit 0dc0919
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions logstash/tests/logstash_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,10 @@ def test_setting_fullnameOverride():
r = helm_template(config)

custom_name = 'logstash-custom'
assert custom_name in r['daemonset']
assert r['daemonset'][custom_name]['spec']['template']['spec']['containers'][0]['name'] == project
assert r['daemonset'][custom_name]['spec']['template']['spec']['serviceAccountName'] == name
volumes = r['daemonset'][custom_name]['spec']['template']['spec']['volumes']
assert custom_name in r['statefulset']
assert r['statefulset'][custom_name]['spec']['template']['spec']['containers'][0]['name'] == project
assert r['statefulset'][custom_name]['spec']['template']['spec']['serviceAccountName'] == name
volumes = r['statefulset'][custom_name]['spec']['template']['spec']['volumes']
assert {
'name': 'data',
'hostPath': {
Expand Down

0 comments on commit 0dc0919

Please sign in to comment.