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

Make overrides configmap names and mount path as variables. #3888

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

kavirajk
Copy link
Collaborator

What this PR does / why we need it:
Instead of hardcoding the names and mount path of configmapoverrides, make it as variables.
Note: This doesn't impact any of the existing workloads, as the default value for these variables are same the one hardcoded!

Which issue(s) this PR fixes:
Fixes: NA

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

'boltdb.shipper.cache-location': '/data/boltdb-cache',
} else {},
// Use PVC for caching
'boltdb.shipper.cache-location': '/data/boltdb-cache',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This the result of make fmt-jsonnet

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@@ -3,16 +3,16 @@

_config+:: {
stateful_ingesters: if $._config.wal_enabled then true else super.stateful_ingesters,
loki+:with({
ingester+:{
loki+: with({
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is also the result of make fmt-jsonnet

@kavirajk kavirajk requested a review from a team June 23, 2021 20:18
Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
@kavirajk kavirajk force-pushed the jsonnet-make-configmap-variables branch from 1bfb709 to 845ac86 Compare June 23, 2021 20:20
Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

LGTM

@sandeepsukhani sandeepsukhani merged commit 81e100f into main Jun 24, 2021
@sandeepsukhani sandeepsukhani deleted the jsonnet-make-configmap-variables branch June 24, 2021 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants