Skip to content

Commit

Permalink
Merge pull request fluent#1505 from kenhys/fix-foward
Browse files Browse the repository at this point in the history
Fix incorrect environment name
  • Loading branch information
kenhys authored Jul 11, 2024
2 parents d52a22b + c17d0cd commit ae9a8a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fluentd-daemonset-forward.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: FLUENT_FOWARD_HOST
- name: FLUENT_FORWARD_HOST
value: "REMOTE_ENDPOINT"
- name: FLUENT_FOWARD_PORT
- name: FLUENT_FORWARD_PORT
value: "18080"
resources:
limits:
Expand Down
4 changes: 2 additions & 2 deletions templates/conf/fluent.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@
@id out_fwd
@log_level info
<server>
host "#{ENV['FLUENT_FOWARD_HOST']}"
port "#{ENV['FLUENT_FOWARD_PORT']}"
host "#{ENV['FLUENT_FORWARD_HOST'] || ENV['FLUENT_FOWARD_HOST']}"
port "#{ENV['FLUENT_FORWARD_PORT'] || ENV['FLUENT_FOWARD_PORT']}"
</server>
<buffer>
flush_interval "#{ENV['FLUENT_FORWARD_FLUSH_INTERVAL'] || use_default}"
Expand Down

0 comments on commit ae9a8a9

Please sign in to comment.