Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix discrepancy in metadata cache ENV name #382

Merged
merged 5 commits into from
Jan 30, 2020

Conversation

vsinghal13
Copy link
Contributor

Description

fix discrepancy in metadata cache ENV name

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

cache_size "#{ENV['K8S_METADATA_FILTER_BEARER_CACHE_SIZE']}"
cache_ttl "#{ENV['K8S_METADATA_FILTER_BEARER_CACHE_TTL']}"
cache_size "#{ENV['K8S_METADATA_FILTER_CACHE_SIZE']}"
cache_ttl "#{ENV['K8S_METADATA_FILTER_CACHE_TTL']}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also change lines 33-34 to use the env var, as well as in the metrics.conf, for consistency? Once we make the major release we can use the templating this way as it is cleaner but until then I think we should stay consistent with the use of env vars

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Contributor

@samjsong samjsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Vijit!

@vsinghal13 vsinghal13 merged commit 8ad209d into master Jan 30, 2020
@vsinghal13 vsinghal13 deleted the vsinghal-fix-metadata-cache-env branch January 30, 2020 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants